Make mobile menu sheet height responsive and support controlled state
This commit is contained in:
1 parent
fbc4e86bb9
commit
b5e9f7d968
2 files changed
+34
-12
No files matched your search
@@ -49,13 +49,7 @@ export function MobileNav() {
|
||||
<MobileMenuButton>
|
||||
{({ close }) => {
|
||||
return (
|
||||
<Column
|
||||
gap="2"
|
||||
display="flex"
|
||||
flex-direction="column"
|
||||
padding="1"
|
||||
style={{ height: '100dvh' }}
|
||||
>
|
||||
<Column gap="2" display="flex" flex-direction="column" padding="1" height="100%">
|
||||
{isMain &&
|
||||
links.map(link => {
|
||||
return (
|
||||
|
||||
Reference in new issue
Block a user