mirror of
https://github.com/jeffvli/feishin.git
synced 2026-05-07 12:30:12 +02:00
prevent sidebar item conflict with server selector
This commit is contained in:
@@ -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)}>
|
||||
|
||||
Reference in New Issue
Block a user