Skip to content

Commit

Permalink
Drop importants
Browse files Browse the repository at this point in the history
  • Loading branch information
julien-deramond committed Sep 14, 2023
1 parent 4c8f7a9 commit 4714761
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
10 changes: 5 additions & 5 deletions site/assets/scss/_navbar.scss
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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
Expand All @@ -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 {
Expand Down
4 changes: 2 additions & 2 deletions site/layouts/_default/examples.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 */
</style>
Expand Down

0 comments on commit 4714761

Please sign in to comment.