From 5fdd7f52a407be5245ea543722fccfab60821749 Mon Sep 17 00:00:00 2001 From: Connor Yoh Date: Mon, 21 Jul 2025 11:25:49 +0100 Subject: [PATCH] Remove css duplication --- .../src/main/resources/static/css/navbar.css | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/app/core/src/main/resources/static/css/navbar.css b/app/core/src/main/resources/static/css/navbar.css index 85260eb53..20cd19176 100644 --- a/app/core/src/main/resources/static/css/navbar.css +++ b/app/core/src/main/resources/static/css/navbar.css @@ -251,6 +251,13 @@ html[dir="rtl"] .lang-dropdown-item-wrapper { border-left: 2px solid var(--md-nav-color-on-separator); } +.scroll-lock-y { + overflow-y: auto; + max-height: 30vh; + overscroll-behavior-y: contain; + -webkit-overflow-scrolling: touch; +} + /* Responsive adjustments */ @media (min-width: 1200px) { .lang-dropdown-item-wrapper .dropdown-item { @@ -258,18 +265,7 @@ html[dir="rtl"] .lang-dropdown-item-wrapper { } .scroll-lock-y { - overflow-y: auto; max-height: 80vh; - overscroll-behavior-y: contain; - -webkit-overflow-scrolling: touch; -} -} -@media (max-width: 1200px) { -.scroll-lock-y { - overflow-y: auto; - max-height: 30vh; - overscroll-behavior-y: contain; - -webkit-overflow-scrolling: touch; } }