aboutsummaryrefslogtreecommitdiffstats
path: root/packages/website/ts/components/mobileNav.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'packages/website/ts/components/mobileNav.tsx')
-rw-r--r--packages/website/ts/components/mobileNav.tsx15
1 files changed, 3 insertions, 12 deletions
diff --git a/packages/website/ts/components/mobileNav.tsx b/packages/website/ts/components/mobileNav.tsx
index 573d21596..d43bbe50e 100644
--- a/packages/website/ts/components/mobileNav.tsx
+++ b/packages/website/ts/components/mobileNav.tsx
@@ -55,10 +55,7 @@ export class MobileNav extends React.PureComponent<Props> {
}
}
-const Wrap =
- styled.nav <
- { isToggled: boolean } >
- `
+const Wrap = styled.nav<{ isToggled: boolean }>`
width: 100%;
height: 357px;
background-color: ${props => props.theme.mobileNavBgUpper};
@@ -99,19 +96,13 @@ const Overlay = styled.div`
interface SectionProps {
isDark?: boolean;
}
-const Section =
- styled.div <
- SectionProps >
- `
+const Section = styled.div<SectionProps>`
width: 100%;
padding: 15px 30px;
background-color: ${props => (props.isDark ? props.theme.mobileNavBgLower : 'transparent')};
`;
-const Grid =
- styled(WrapGrid) <
- WrapProps >
- `
+const Grid = styled(WrapGrid)<WrapProps>`
justify-content: flex-start;
li {