Skip to content

Commit

Permalink
Fix body overflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
thatmattlove committed Jun 2, 2021
1 parent d23e142 commit 24a92d6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion hyperglass/ui/components/layout/frame.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,13 +40,13 @@ export const Frame: React.FC<TFrame> = (props: TFrame) => {
<Flex
px={4}
py={0}
w="100%"
as="main"
align="center"
flex="1 1 auto"
justify="start"
flexDir="column"
textAlign="center"
w={{ base: '100%', lg: 'calc(100% - 1rem)' }}
{...props}
/>
<Footer />
Expand Down
1 change: 1 addition & 0 deletions hyperglass/ui/util/theme.ts
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ export function makeTheme(
body: {
background: mode('light.500', 'dark.500')(props),
color: mode('black', 'white')(props),
overflowX: 'hidden',
},
}),
},
Expand Down

0 comments on commit 24a92d6

Please sign in to comment.