From 4714761325c14bffad4cb24ee049d47d7e3b45f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julien=20D=C3=A9ramond?= Date: Thu, 14 Sep 2023 12:14:01 +0200 Subject: [PATCH] Drop importants --- site/assets/scss/_navbar.scss | 10 +++++----- site/layouts/_default/examples.html | 4 ++-- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/site/assets/scss/_navbar.scss b/site/assets/scss/_navbar.scss index b758aa87cf..5792538cf1 100644 --- a/site/assets/scss/_navbar.scss +++ b/site/assets/scss/_navbar.scss @@ -1,5 +1,5 @@ .bd-navbar { - --icon-size: 1.25rem; // Boosted mod + --bd-navbar-dropdown-item-icon-size: 1.25rem; // Boosted mod // Boosted mod: no padding // Boosted mod: no background-color @@ -24,8 +24,8 @@ } .bi { - width: var(--icon-size) !important; // stylelint-disable-line declaration-no-important - height: var(--icon-size) !important; // stylelint-disable-line declaration-no-important + width: var(--bd-navbar-dropdown-item-icon-size); + height: var(--bd-navbar-dropdown-item-icon-size); } } // End mod @@ -48,8 +48,8 @@ } .bi { - width: var(--icon-size) !important; // stylelint-disable-line declaration-no-important - height: var(--icon-size) !important; // stylelint-disable-line declaration-no-important + width: var(--bd-navbar-dropdown-item-icon-size); + height: var(--bd-navbar-dropdown-item-icon-size); } .active .bi { diff --git a/site/layouts/_default/examples.html b/site/layouts/_default/examples.html index f9b0b1e89d..6a1a1e6b9d 100644 --- a/site/layouts/_default/examples.html +++ b/site/layouts/_default/examples.html @@ -87,8 +87,8 @@ /* Boosted mod */ .bd-mode-toggle .dropdown-item .bi, #bd-theme .bi { - width: var(--bd-mode-toggle-icon-size) !important; - height: var(--bd-mode-toggle-icon-size) !important; + width: var(--bd-mode-toggle-icon-size); + height: var(--bd-mode-toggle-icon-size); } /* End mod */