Skip to content

Commit

Permalink
[Fix] hide menubar overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
edwinmp committed Jun 17, 2019
1 parent fb57e2c commit a47c6bf
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/components/molecules/Menu/index.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { css } from 'glamor';
import glamorous from 'glamorous';
import { red, white } from '../../theme/semantic';
import { Container } from 'semantic-ui-react';
Expand All @@ -22,13 +23,15 @@ const MenuContainer = glamorous.div({
height: '57px'
});

const containerStyles = css({ overflow: 'hidden !important' });

export type Props = Menu & {
nextLink?: React.ComponentClass<LinkState>;
};

const menu = (props: Props) =>
<MenuContainer>
<Container>
<Container { ...containerStyles }>
<Logo />
<DesktopMenu { ...props } />
<MobileMenu { ...props } />
Expand Down

0 comments on commit a47c6bf

Please sign in to comment.