diff options
| author | XhmikosR <[email protected]> | 2019-07-21 18:16:56 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2019-07-22 17:13:44 +0300 |
| commit | 025f69cb2074cc4989a5b11a8e11fa867eb27e07 (patch) | |
| tree | 9f1dde0b44215c6a26d6bf49909afe4904a4a375 | |
| parent | 35219476111e4835940803b5513e6b0f99256f09 (diff) | |
| download | bootstrap-025f69cb2074cc4989a5b11a8e11fa867eb27e07.tar.xz bootstrap-025f69cb2074cc4989a5b11a8e11fa867eb27e07.zip | |
Fix subnavbar active style.
| -rw-r--r-- | site/static/docs/4.3/assets/scss/_nav.scss | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/site/static/docs/4.3/assets/scss/_nav.scss b/site/static/docs/4.3/assets/scss/_nav.scss index 014d6ae66..b93d42205 100644 --- a/site/static/docs/4.3/assets/scss/_nav.scss +++ b/site/static/docs/4.3/assets/scss/_nav.scss @@ -17,10 +17,16 @@ } .dropdown-menu { - @include font-size(90%); + @include font-size(.875rem); box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05); } + .dropdown-item.active { + font-weight: 600; + color: $gray-900; + background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem; + } + @include media-breakpoint-up(md) { @supports (position: sticky) { position: sticky; @@ -104,14 +110,4 @@ height: 1rem; vertical-align: text-top; } - - .dropdown-menu { - @include font-size(.875rem); - } - - .dropdown-item.active { - font-weight: 600; - color: $gray-900; - background: escape-svg($dropdown-active-icon) no-repeat .4rem .6rem/.75rem .75rem; - } } |
