fix(ui): make sidebar and reader scroll independently

- Remove position: sticky from sidebar
- Set fixed height on two-pane container (calc(100vh - 4rem))
- Add overflow-y: auto to both sidebar and main panes
- Each pane now scrolls independently without affecting the other
- Fix issue where bookmark bar was 'stuck' with long articles
This commit is contained in:
Gigi
2025-10-03 09:31:04 +02:00
parent 53b54c77e7
commit 9046150d1f

View File

@@ -403,7 +403,7 @@ body {
display: grid;
grid-template-columns: 360px 1fr;
gap: 1rem;
align-items: start;
height: calc(100vh - 4rem);
transition: grid-template-columns 0.3s ease;
}
@@ -412,13 +412,13 @@ body {
}
.pane.sidebar {
position: sticky;
top: 1rem;
align-self: start;
overflow-y: auto;
height: 100%;
}
.pane.main {
min-height: 60vh;
overflow-y: auto;
height: 100%;
}
.reader {