File tree Expand file tree Collapse file tree 3 files changed +12
-3
lines changed
Expand file tree Collapse file tree 3 files changed +12
-3
lines changed Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ export function LoggedOutHome() {
5151 < >
5252 { user === null && < Col className = "mb-4 gap-2 lg:hidden" >
5353 < SignUpButton
54- className = "mt-4 flex-1 fixed bottom-[55px] w-full left-0 right-0 z-10 mx-auto px-4"
54+ className = "mt-4 flex-1 fixed bottom-[calc( 55px+env(safe-area-inset-bottom)) ] w-full left-0 right-0 z-10 mx-auto px-4"
5555 size = "xl"
5656 text = "Sign up"
5757 />
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ export function BottomNavBar(props: {
3737 return null
3838 }
3939
40- return (
40+ return ( < Col >
4141 < nav
4242 className = { clsx (
4343 "border-ink-200 dark:border-ink-300 text-ink-700 bg-canvas-50 fixed inset-x-0 bottom-0 z-50 flex select-none items-center justify-between border-t-2 text-xs lg:hidden sidebar-nav" ,
@@ -69,6 +69,15 @@ export function BottomNavBar(props: {
6969 sidebarNavigationOptions = { sidebarNavigationOptions }
7070 />
7171 </ nav >
72+
73+ < div
74+ className = "fixed inset-x-0 bg-canvas-50"
75+ style = { {
76+ bottom : 0 ,
77+ height : 'env(safe-area-inset-bottom)' ,
78+ } }
79+ />
80+ </ Col >
7281 )
7382}
7483
Original file line number Diff line number Diff line change @@ -458,6 +458,6 @@ ol > li::marker {
458458
459459.safe-bottom {
460460 /*bottom: env(safe-area-inset-bottom);*/
461- bottom : calc (env (safe-area-inset-bottom) + 0 px );
461+ bottom : calc (env (safe-area-inset-bottom));
462462}
463463
You can’t perform that action at this time.
0 commit comments