Skip to content

Commit 38a5573

Browse files
Add sticky nav on short viewports (#830)
1 parent 2d0d5ad commit 38a5573

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/css/tailwind.css

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,11 @@ details[open] .summary-swap-open {
292292
}
293293

294294
/* Desktop sticky nav */
295-
@media (min-width: 768px) and (min-height: 53.75em) { /* 860px */
295+
@media (min-width: 768px) { /* 860px */
296296
.page-header {
297297
position: sticky;
298298
top: 0;
299+
overflow-y: auto;
299300
}
300301
.page-nav {
301302
justify-content: space-between;

0 commit comments

Comments
 (0)