prevent sidebar item conflict with server selector

This commit is contained in:
jeffvli
2025-12-25 01:39:33 -08:00
parent 20c19cac6f
commit 3a2a1b0dc8
2 changed files with 7 additions and 6 deletions
@@ -1,4 +1,5 @@
.sidebar-container {
position: relative;
display: flex;
flex-direction: column;
height: 100%;
@@ -11,15 +12,11 @@
max-height: calc(100vh - 149px);
}
.sidebar-container {
position: relative;
}
.server-selector-container {
position: absolute;
right: 0;
bottom: 0;
left: 0;
right: 0;
display: flex;
align-items: center;
justify-content: center;
@@ -35,3 +32,7 @@
object-fit: cover;
border-radius: var(--theme-radius-md);
}
.scroll-area-with-server {
padding-bottom: calc(2rem + 2 * var(--theme-spacing-md));
}
@@ -80,7 +80,7 @@ export const CollapsedSidebar = () => {
[styles.web]: windowBarStyle === Platform.WEB,
})}
>
<ScrollArea>
<ScrollArea className={currentServer ? styles.scrollAreaWithServer : undefined}>
{sidebarCollapsedNavigation && (
<Group gap={0} grow>
<CollapsedSidebarButton onClick={() => navigate(-1)}>