Skip to content

Commit

Permalink
v4: Move negative margin-bottom from .nav-item to .nav-link (#32211)
Browse files Browse the repository at this point in the history
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
  • Loading branch information
kyletsang and XhmikosR authored Dec 10, 2020
1 parent 17bb67d commit 1897b4c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions scss/_nav.scss
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,8 @@
.nav-tabs {
border-bottom: $nav-tabs-border-width solid $nav-tabs-border-color;

.nav-item {
margin-bottom: -$nav-tabs-border-width;
}

.nav-link {
margin-bottom: -$nav-tabs-border-width;
border: $nav-tabs-border-width solid transparent;
@include border-top-radius($nav-tabs-border-radius);

Expand Down

0 comments on commit 1897b4c

Please sign in to comment.