Skip to content

Commit a47c6bf

Browse files
committed
[Fix] hide menubar overflow
1 parent fb57e2c commit a47c6bf

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/components/molecules/Menu/index.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { css } from 'glamor';
12
import glamorous from 'glamorous';
23
import { red, white } from '../../theme/semantic';
34
import { Container } from 'semantic-ui-react';
@@ -22,13 +23,15 @@ const MenuContainer = glamorous.div({
2223
height: '57px'
2324
});
2425

26+
const containerStyles = css({ overflow: 'hidden !important' });
27+
2528
export type Props = Menu & {
2629
nextLink?: React.ComponentClass<LinkState>;
2730
};
2831

2932
const menu = (props: Props) =>
3033
<MenuContainer>
31-
<Container>
34+
<Container { ...containerStyles }>
3235
<Logo />
3336
<DesktopMenu { ...props } />
3437
<MobileMenu { ...props } />

0 commit comments

Comments
 (0)