Fix ArtistNetwork sidebar height to fit content area
- Use top/bottom positioning instead of calculated height - top: 32px (below title bar), bottom: 104px (above player) - Add adjustment for when title bar is hidden (top: 0) - Sidebar now always fits within visible content area
This commit is contained in:
1 parent
81ffc120ad
commit
c5c6ddc721
1 file changed
+6
-1
@@ -2074,9 +2074,9 @@
|
||||
.network-sidebar {
|
||||
position: fixed;
|
||||
top: 32px;
|
||||
bottom: 104px;
|
||||
right: 0;
|
||||
width: 340px;
|
||||
height: calc(100vh - 32px - 72px);
|
||||
background: var(--bg-secondary);
|
||||
border-left: 1px solid var(--bg-tertiary);
|
||||
z-index: 100;
|
||||
@@ -2085,6 +2085,11 @@
|
||||
animation: slideIn 200ms ease-out;
|
||||
}
|
||||
|
||||
/* Adjust sidebar when title bar is hidden */
|
||||
:global(.app.no-titlebar) .network-sidebar {
|
||||
top: 0;
|
||||
}
|
||||
|
||||
@keyframes slideIn {
|
||||
from {
|
||||
transform: translateX(100%);
|
||||
|
||||
Reference in new issue
Block a user