Skip to content

Commit

Permalink
navdrawer scroll issue resolved via responsive prop instead of css
Browse files Browse the repository at this point in the history
  • Loading branch information
lokeshrana9999 committed Mar 27, 2020
1 parent 6f4e62e commit d4c8f75
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 6 deletions.
5 changes: 0 additions & 5 deletions src/components/nav_drawer/_nav_drawer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -94,11 +94,6 @@
}

@include euiBreakpoint('xs', 's') {
.euiNavDrawer > .euiFlexGroup--responsive {
flex-wrap: nowrap;
overflow-x: hidden;
}

.euiNavDrawer {
width: 0;

Expand Down
2 changes: 1 addition & 1 deletion src/components/nav_drawer/nav_drawer.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ export class EuiNavDrawer extends Component {
onOutsideClick={() => this.closeBoth()}
isDisabled={this.state.outsideClickDisabled}>
<nav className={classes} {...rest}>
<EuiFlexGroup gutterSize="none">
<EuiFlexGroup gutterSize="none" responsive={false}>
<EuiFlexItem grow={false}>
<div
id={MENU_ELEMENT_ID}
Expand Down

0 comments on commit d4c8f75

Please sign in to comment.