mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-30 22:52:24 +01:00
Fix active state dropdown
This commit is contained in:
parent
c48d89cb70
commit
43d866313d
@ -11,10 +11,8 @@
|
|||||||
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
|
box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .05);
|
||||||
}
|
}
|
||||||
|
|
||||||
.dropdown-item.active {
|
.dropdown-item.current {
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: $gray-900;
|
|
||||||
background-color: transparent;
|
|
||||||
background-image: escape-svg($dropdown-active-icon);
|
background-image: escape-svg($dropdown-active-icon);
|
||||||
background-repeat: no-repeat;
|
background-repeat: no-repeat;
|
||||||
background-position: .4rem .6rem;
|
background-position: .4rem .6rem;
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
Bootstrap v{{ .Site.Params.docs_version }}
|
Bootstrap v{{ .Site.Params.docs_version }}
|
||||||
</button>
|
</button>
|
||||||
<ul class="dropdown-menu dropdown-menu-md-right" aria-labelledby="bd-versions">
|
<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><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/4.4/">v4.4.1</a></li>
|
||||||
<li><a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.1</a></li>
|
<li><a class="dropdown-item" href="https://getbootstrap.com/docs/3.4/">v3.4.1</a></li>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user