File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export default function Sidebar(props: {
3232 < nav
3333 aria-label = "Sidebar"
3434 className = { clsx (
35- 'flex h-screen flex-col h-full max-h-screen overflow-y-auto mb-[calc(env( safe-area-inset- bottom))] mt-[calc(env(safe-area-inset-top))]' ,
35+ 'flex h-screen flex-col h-full max-h-screen overflow-y-auto safe-bottom mt-[calc(env(safe-area-inset-top))]' ,
3636 className
3737 ) }
3838 >
@@ -56,7 +56,7 @@ export default function Sidebar(props: {
5656 </ Button >
5757 ) }
5858 </ div >
59- < div className = "mb-6 mt-auto flex flex-col gap-1" >
59+ < div className = "mb-[calc(24px+env(safe-area-inset-bottom))] mt-auto flex flex-col gap-1" >
6060 { bottomNavOptions . map ( ( item ) => (
6161 < SidebarItem key = { item . name } item = { item } currentPage = { currentPage } />
6262 ) ) }
Original file line number Diff line number Diff line change @@ -294,7 +294,7 @@ export const PrivateChat = (props: {
294294 </ Modal >
295295 ) }
296296 </ Row >
297- < Col className = "relative h-[calc(100dvh-213px)] lg:h-[calc(100dvh-184px)] xl:px-0" >
297+ < Col className = "relative h-[calc(100dvh-213px-env(safe-area-inset-bottom) )] lg:h-[calc(100dvh-184px)] xl:px-0" >
298298 < div
299299 ref = { outerDiv }
300300 className = "relative h-full overflow-y-auto"
You can’t perform that action at this time.
0 commit comments