0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-01-18 10:52:19 +01:00

v4: Move negative margin-bottom from .nav-item to .nav-link (#32211)

Co-authored-by: XhmikosR <xhmikosr@gmail.com>
This commit is contained in:
Kyle Tsang 2020-12-10 01:02:28 -08:00 committed by GitHub
parent 17bb67dd5b
commit 1897b4cd89
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);