From 5156894c5185fe24e26fd88adf1566fb6bf747e8 Mon Sep 17 00:00:00 2001 From: Dan Allen Date: Sun, 20 Dec 2020 17:46:09 -0700 Subject: [PATCH] add .5px to max-width media queries to ensure a smooth transition --- src/css/header.css | 2 +- src/css/main.css | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/css/header.css b/src/css/header.css index 04b07f3..876784f 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -156,7 +156,7 @@ body { margin: 0.25rem 0; } -@media screen and (max-width: 1023px) { +@media screen and (max-width: 1023.5px) { .navbar-brand .navbar-item { align-items: center; display: flex; diff --git a/src/css/main.css b/src/css/main.css index 88dd4bd..40dd045 100644 --- a/src/css/main.css +++ b/src/css/main.css @@ -1,4 +1,4 @@ -@media screen and (max-width: 1023px) { +@media screen and (max-width: 1023.5px) { aside.toc.sidebar { display: none; } -- 2.11.0