Skip to content

Commit f56e1d3

Browse files
committed
Add horizontal scroll to nav for mobile
1 parent eb66296 commit f56e1d3

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

static/style.css

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -424,6 +424,8 @@ header h1 {
424424
nav {
425425
display: flex;
426426
gap: 1rem;
427+
overflow-x: auto;
428+
-webkit-overflow-scrolling: touch;
427429
}
428430

429431
nav a {
@@ -890,6 +892,11 @@ footer {
890892
font-size: 1.25rem;
891893
}
892894

895+
nav {
896+
gap: 0.75rem;
897+
padding-bottom: 0.25rem;
898+
}
899+
893900
.post-header h2 {
894901
font-size: 1.5rem;
895902
}

0 commit comments

Comments
 (0)