fix(redesign): sidebar position:fixed + main padding-left — restore main content visibility
Hotfix: после Task 12 замены v-navigation-drawer на plain <aside> sidebar остался position:static и толкал v-main в flow ниже (y=901), весь контент уезжал за viewport. Добавлен .ld-sidebar position:fixed top:0 left:0 height:100vh z-index:1006 + .app-main padding-left:232px. Verified via Playwright snapshot — Dashboard KPI/charts отрисованы корректно.
This commit is contained in:
@@ -109,9 +109,14 @@ defineExpose({ navGroups });
|
||||
color: #E8E2D4;
|
||||
padding: 20px 14px;
|
||||
width: 232px;
|
||||
min-height: 100vh;
|
||||
height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 1006;
|
||||
overflow-y: auto;
|
||||
}
|
||||
|
||||
.ld-sidebar__brand {
|
||||
|
||||
@@ -81,5 +81,6 @@ usePolling(loadReminderCounts, { intervalMs: 60_000, enabled: true });
|
||||
<style scoped>
|
||||
.app-main {
|
||||
background: #f6f3ec;
|
||||
padding-left: 232px;
|
||||
}
|
||||
</style>
|
||||
|
||||
Reference in New Issue
Block a user