Fix active state dropdown

This commit is contained in:
Martijn Cuppens 2020-03-31 22:42:45 +02:00
parent c48d89cb70
commit 43d866313d
2 changed files with 2 additions and 4 deletions

View File

@ -11,10 +11,8 @@
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
}
.dropdown-item.active {
.dropdown-item.current {
font-weight: 600;
color: $gray-900;
background-color: transparent;
background-image: escape-svg($dropdown-active-icon);
background-repeat: no-repeat;
background-position: .4rem .6rem;

View File

@ -3,7 +3,7 @@
Bootstrap v{{ .Site.Params.docs_version }}
</button>
<ul class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions">
<li><a class="dropdown-item active" aria-current="true" href="/docs/{{ .Site.Params.docs_version }}/">Latest (5.0.x)</a></li>
<li><a class="dropdown-item current" aria-current="true" href="/docs/{{ .Site.Params.docs_version }}/">Latest (5.0.x)</a></li>
<li><hr class="dropdown-divider"></li>
<li><a class="dropdown-item" href="https://getbootstrap.com/docs/4.4/">v4.4.1</a></li>
<li><a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.1</a></li>