Skip to content

Commit f1c2fd8

Browse files
DavidLiedleclaude
andcommitted
Make chapter navigation scrollable
Added max-height and overflow-y to navigation to allow scrolling through all chapters. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 1b1cf03 commit f1c2fd8

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

assets/css/custom.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,19 @@ footer {
1616
padding-top: 20px;
1717
border-top: 1px solid #e5e5e5;
1818
margin-bottom: 20px;
19+
max-height: 600px;
20+
overflow-y: auto;
1921
}
2022

2123
.book-nav h2 {
2224
font-size: 18px;
2325
margin-bottom: 10px;
2426
color: #333;
27+
position: sticky;
28+
top: 0;
29+
background: white;
30+
padding: 5px 0;
31+
z-index: 10;
2532
}
2633

2734
.book-nav ul {

0 commit comments

Comments
 (0)