Add gaps to sidebar footers

This commit is contained in:
Kalle 2026-03-17 21:26:53 +02:00
parent bd3b285364
commit 35f48272af
3 changed files with 13 additions and 2 deletions

View File

@ -242,6 +242,12 @@
}
}
@media screen and (max-width: 1474px) {
.sidebarFuseSpace {
padding-bottom: 90px;
}
}
.chatSidebarModalOverlay {
position: fixed;
inset: 0;

View File

@ -302,6 +302,7 @@ export function Layout({
return (
<>
<SideNav
className={showLeaderboard ? styles.sidebarFuseSpace : undefined}
collapsed={sideNavCollapsed}
footer={sideNavFooterContent}
top={<SiteTitle />}
@ -395,7 +396,12 @@ export function Layout({
<Footer />
</div>
{chatSidebarOpen ? (
<div className={styles.chatSidebar}>
<div
className={clsx(
styles.chatSidebar,
showLeaderboard && styles.sidebarFuseSpace,
)}
>
<ChatSidebar onClose={() => setChatSidebarOpen(false)} />
</div>
) : null}

View File

@ -81,7 +81,6 @@
}
.inputContainer > form {
background-color: var(--color-bg-high);
padding: var(--s-2);
border-top: 1.5px solid var(--color-border);
}