0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-11-29 11:24:18 +01:00

Fix subnavbar active style.

This commit is contained in:
XhmikosR 2019-07-21 18:16:56 +03:00
parent 3521947611
commit 025f69cb20

View File

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