diff options
Diffstat (limited to 'packages/website/ts/@next/components/mobileNav.tsx')
-rw-r--r-- | packages/website/ts/@next/components/mobileNav.tsx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/website/ts/@next/components/mobileNav.tsx b/packages/website/ts/@next/components/mobileNav.tsx index 4ae604c3f..2b8c10ea6 100644 --- a/packages/website/ts/@next/components/mobileNav.tsx +++ b/packages/website/ts/@next/components/mobileNav.tsx @@ -4,7 +4,7 @@ import styled from 'styled-components'; import {Link} from 'react-router-dom'; -import {WrapGrid} from 'ts/@next/components/newLayout'; +import {WrapGrid, WrapProps} from 'ts/@next/components/newLayout'; interface Props { isToggled: boolean; @@ -36,7 +36,7 @@ export class MobileNav extends React.PureComponent<Props> { </Section> <Section isDark={true}> - <Grid as="ul" width="100%" isWrapped={true}> + <Grid as="ul" isFullWidth={true} isWrapped={true}> <li> <Link to="/next/why"> Why 0x @@ -112,7 +112,7 @@ const Section = styled.div<{ isDark?: boolean }>` background-color: ${props => props.isDark && props.theme.mobileNavBgLower}; `; -const Grid = styled(WrapGrid)` +const Grid = styled(WrapGrid)<WrapProps>` li { width: 50%; flex-shrink: 0; |