mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-04 14:53:33 -04:00
Fix layout
This commit is contained in:
@@ -32,7 +32,7 @@ export default function Sidebar(props: {
|
||||
<nav
|
||||
aria-label="Sidebar"
|
||||
className={clsx(
|
||||
'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))]',
|
||||
'flex h-screen flex-col h-full max-h-screen overflow-y-auto safe-bottom mt-[calc(env(safe-area-inset-top))]',
|
||||
className
|
||||
)}
|
||||
>
|
||||
@@ -56,7 +56,7 @@ export default function Sidebar(props: {
|
||||
</Button>
|
||||
)}
|
||||
</div>
|
||||
<div className="mb-6 mt-auto flex flex-col gap-1">
|
||||
<div className="mb-[calc(24px+env(safe-area-inset-bottom))] mt-auto flex flex-col gap-1">
|
||||
{bottomNavOptions.map((item) => (
|
||||
<SidebarItem key={item.name} item={item} currentPage={currentPage}/>
|
||||
))}
|
||||
|
||||
@@ -294,7 +294,7 @@ export const PrivateChat = (props: {
|
||||
</Modal>
|
||||
)}
|
||||
</Row>
|
||||
<Col className="relative h-[calc(100dvh-213px)] lg:h-[calc(100dvh-184px)] xl:px-0">
|
||||
<Col className="relative h-[calc(100dvh-213px-env(safe-area-inset-bottom))] lg:h-[calc(100dvh-184px)] xl:px-0">
|
||||
<div
|
||||
ref={outerDiv}
|
||||
className="relative h-full overflow-y-auto"
|
||||
|
||||
Reference in New Issue
Block a user