1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-09-02 18:02:37 +02:00

docs(sidenav): use class selector for active item

This commit is contained in:
Gaël Poupard
2020-03-12 17:20:26 +01:00
committed by XhmikosR
parent c0aa3a1e1e
commit 9efaeba35e
2 changed files with 4 additions and 4 deletions

View File

@@ -55,7 +55,7 @@
flex-flow: column nowrap;
padding-left: 1.25rem;
> li > a {
a {
display: inline-block;
padding: .25rem .5rem;
@include font-size(.875rem);
@@ -70,7 +70,7 @@
}
}
[aria-current="page"] {
.active {
font-weight: 600;
color: rgba($black, .85);
}