mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-19 05:50:23 +00:00
Fix #11513: Don't always float navbar-text
`navbar-text` should only float when the navbar is expanded on larger screens, otherwise the element might be (hidden) behind `navbar-nav`. Fixes #11513. X-Ref: #8820 #8815
This commit is contained in:
parent
6b547b357a
commit
cdb243706e
1 changed files with 1 additions and 1 deletions
|
|
@ -340,10 +340,10 @@
|
|||
// Add a class to make any element properly align itself vertically within the navbars.
|
||||
|
||||
.navbar-text {
|
||||
float: left;
|
||||
.navbar-vertical-align(@line-height-computed);
|
||||
|
||||
@media (min-width: @grid-float-breakpoint) {
|
||||
float: left;
|
||||
margin-left: @navbar-padding-horizontal;
|
||||
margin-right: @navbar-padding-horizontal;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue