From c1baf1f6f29c01e4d887d19f1a73af25fbbc937b Mon Sep 17 00:00:00 2001 From: Neil Hanlon Date: Mon, 19 Feb 2024 16:54:03 -0500 Subject: [PATCH] fix: only apply gradient when the sidebar is out --- docs/assets/extra.css | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/assets/extra.css b/docs/assets/extra.css index 63bd68d..c03c4d3 100644 --- a/docs/assets/extra.css +++ b/docs/assets/extra.css @@ -1,6 +1,8 @@ :root { - .md-nav__title[for="__drawer"] { - background: linear-gradient(135deg, #10b981 0%, #1055b9 100%); + @media screen and (max-width: 76.234375em) { + .md-nav__title[for="__drawer"] { + background: linear-gradient(135deg, #10b981 0%, #1055b9 100%); + } } }