0
0
mirror of https://github.com/twbs/bootstrap.git synced 2024-12-01 13:24:25 +01:00

Merge pull request #11514 from twbs/navbar-text-float-breakpoint

Fix #11513: Don't always float navbar-text
This commit is contained in:
Julian Thilo 2013-11-18 14:02:17 -08:00
commit 84a3aa3e0c
3 changed files with 3 additions and 3 deletions

View File

@ -4665,13 +4665,13 @@ textarea.input-group-sm > .input-group-btn > .btn {
}
.navbar-text {
float: left;
margin-top: 15px;
margin-bottom: 15px;
}
@media (min-width: 768px) {
.navbar-text {
float: left;
margin-right: 15px;
margin-left: 15px;
}

File diff suppressed because one or more lines are too long

View File

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