mirror of
https://gitlab.com/ArkHost/HelixNotes.git
synced 2026-07-23 23:35:57 +02:00
Pin Notebooks header while scrolling, add divider above it (#126)
This commit is contained in:
@@ -1010,6 +1010,16 @@
|
|||||||
flex: 1;
|
flex: 1;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
padding: 4px 0;
|
padding: 4px 0;
|
||||||
|
border-top: 1px solid var(--border-light);
|
||||||
|
}
|
||||||
|
|
||||||
|
/* Pin the Notebooks header so its collapse/expand-all button stays reachable while the tree
|
||||||
|
scrolls; the section's border-top draws the divider above it, matching the Tags section. (issue #126) */
|
||||||
|
.section > .section-header {
|
||||||
|
position: sticky;
|
||||||
|
top: 0;
|
||||||
|
z-index: 1;
|
||||||
|
background: var(--bg-secondary);
|
||||||
}
|
}
|
||||||
|
|
||||||
.tags-section {
|
.tags-section {
|
||||||
|
|||||||
Reference in New Issue
Block a user