mirror of
https://github.com/smittix/intercept.git
synced 2026-04-24 06:40:00 -07:00
Fix ACARS sidebar expanding page height
Add height constraints and overflow handling to keep the sidebar static within viewport while allowing internal scrolling.
This commit is contained in:
@@ -207,12 +207,16 @@ body {
|
||||
background: var(--bg-panel);
|
||||
border-right: 1px solid var(--border-color);
|
||||
flex-direction: row;
|
||||
overflow: hidden;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
/* Show ACARS sidebar on desktop */
|
||||
@media (min-width: 1024px) {
|
||||
.acars-sidebar {
|
||||
display: flex;
|
||||
max-height: calc(100dvh - 95px);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -269,6 +273,8 @@ body {
|
||||
flex-direction: column;
|
||||
overflow: hidden;
|
||||
transition: width 0.3s ease, opacity 0.2s ease;
|
||||
height: 100%;
|
||||
min-height: 0;
|
||||
}
|
||||
|
||||
.acars-sidebar.collapsed .acars-sidebar-content {
|
||||
@@ -283,6 +289,8 @@ body {
|
||||
flex-direction: column;
|
||||
border: none;
|
||||
border-radius: 0;
|
||||
min-height: 0;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.acars-sidebar .panel::before {
|
||||
|
||||
Reference in New Issue
Block a user