Skip to content

Commit

Permalink
refactor(navbar): use shorthand for padding
Browse files Browse the repository at this point in the history
  • Loading branch information
ffoodd committed Jul 1, 2019
1 parent 066ebc0 commit 5f76825
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions scss/_navbar.scss
Original file line number Diff line number Diff line change
Expand Up @@ -95,10 +95,7 @@

.nav-link {
//Boosted mod
padding-top: .875rem;
padding-right: .625rem;
padding-bottom: .875rem;
padding-left: .625rem;
padding: .875rem .625rem;
margin-top: 0;

&.active::before {
Expand Down Expand Up @@ -338,10 +335,7 @@
// end mod

.nav-link {
padding-top: 0; // boosted mod
padding-right: $navbar-nav-link-padding-x;
padding-bottom: 0; // boosted mod
padding-left: $navbar-nav-link-padding-x;
padding: 0 $navbar-nav-link-padding-x; // boosted mod
margin-left: 1.25rem; // boosted mod
}
}
Expand Down

0 comments on commit 5f76825

Please sign in to comment.