mirror of
https://github.com/dzeiocom/components.git
synced 2025-04-22 10:52:16 +00:00
Removed Margin from the UserMenu if it's the Navbar
Signed-off-by: Avior <florian.bouillon@delta-wings.net>
This commit is contained in:
parent
c1f37b6e7c
commit
a0342050db
@ -82,7 +82,7 @@ interface State {
|
||||
|
||||
/**
|
||||
* Navbar/Sidebar Component
|
||||
* @version 1.0.1
|
||||
* @version 1.0.2
|
||||
*/
|
||||
export default class Navbar extends React.Component<Props, State> {
|
||||
|
||||
@ -224,7 +224,7 @@ export default class Navbar extends React.Component<Props, State> {
|
||||
</div>
|
||||
</div>
|
||||
<div className={buildClassName(css.userMenu, [css.menuActive, !this.state.isMobile && this.state.menuActive])}>
|
||||
<Row>
|
||||
<Row nomargin={this.getType() === 'navbar'}>
|
||||
{this.props.user.menu?.informations && (
|
||||
<Col>{this.props.user.menu?.informations}</Col>
|
||||
)}
|
||||
|
Loading…
x
Reference in New Issue
Block a user