Skip to content

Commit

Permalink
fix: remove overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Code-Victor committed Jan 19, 2023
1 parent 8e03131 commit b63fda6
Showing 1 changed file with 18 additions and 6 deletions.
24 changes: 18 additions & 6 deletions src/components/inc/MainLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ const MainLayout = () => {
}}
>
<Portal root="side_bar_root">
<Suspense fallback={<h1>loading...</h1>}>
<Suspense fallback={<div />}>
<SideBar />
</Suspense>
</Portal>
Expand All @@ -35,16 +35,28 @@ const MainLayout = () => {
css={{
flex: 1,
gridTemplateRows: "1fr 1fr",
"&>*": {
height: "100%",
},
}}
>
<Flex ai="center" jc="between" fd="column" css={{ pb: "$5" }}>
<Flex
ai="center"
jc="between"
fd="column"
css={{ pb: "$5", height: "100%" }}
>
<Time />
<Search />
</Flex>
<Flex ai="center" fd="column" jc="end" gap={6}>
<Flex
ai="center"
fd="column"
css={{
mt: "$3",
"&>*": {
flex: 1,
},
}}
gap={6}
>
<Mantra />
<Reminder />
</Flex>
Expand Down

0 comments on commit b63fda6

Please sign in to comment.