Skip to content

Commit ae44f34

Browse files
committed
add .5px to max-width media queries to ensure a smooth transition
1 parent 37baea0 commit ae44f34

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/css/header.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ body {
5656
max-height: calc(100vh - var(--navbar-height));
5757
}
5858

59-
@media screen and (max-width: 1023px) {
59+
@media screen and (max-width: 1023.5px) {
6060
.navbar-start .navbar-item + .navbar-item {
6161
display: none;
6262
}
@@ -217,7 +217,7 @@ body {
217217
letter-spacing: -0.01em;
218218
}
219219

220-
@media screen and (max-width: 1023px) {
220+
@media screen and (max-width: 1023.5px) {
221221
.navbar-brand .navbar-item {
222222
align-items: center;
223223
display: flex;

src/css/main.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
@media screen and (max-width: 1023px) {
1+
@media screen and (max-width: 1023.5px) {
22
aside.toc.sidebar {
33
display: none;
44
}

0 commit comments

Comments
 (0)