Skip to content

Commit

Permalink
Merge pull request #118 from ed-pilots-network/nav-spacing
Browse files Browse the repository at this point in the history
Make navbar spacing consistent on small viewports
  • Loading branch information
jbritain authored Sep 14, 2023
2 parents 81d5927 + db08fe5 commit 40846fc
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/_components/nav-drawer/NavDrawer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ const NavDrawer = () => {
onClick={onOpen}
aria-label="Open Navigation Drawer"
icon={<HamburgerIcon />}
marginX={4}
marginEnd={4}
role="button"
/>

Expand Down
8 changes: 7 additions & 1 deletion app/_components/navbar/Navbar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,18 @@ const Navbar = () => {
const { isDark, toggleColorMode } = useColorMode();

return (
<Flex p={2} bg={GetColor('box')} color={GetColor('text')} justify="center">
<Flex
padding={2}
bg={GetColor('box')}
color={GetColor('text')}
justify="center"
>
<Flex
justifyContent="space-between"
alignItems="center"
width="100%"
maxWidth={layoutConfig.maxWidth}
paddingX={2}
>
<Flex alignItems="center">
<Box display={{ base: 'flex', md: 'none' }}>
Expand Down

0 comments on commit 40846fc

Please sign in to comment.