mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Follow up commit: fix collapse clearing and navbar brand/nav spacing
This commit is contained in:
parent
ba8026e00f
commit
85ec6e741d
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
@ -2926,6 +2926,7 @@ button.close {
|
||||
float: left;
|
||||
padding-top: 15px;
|
||||
padding-bottom: 15px;
|
||||
margin-right: 15px;
|
||||
font-size: 18px;
|
||||
line-height: 20px;
|
||||
color: #777777;
|
||||
@ -3113,6 +3114,9 @@ button.close {
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.nav-collapse {
|
||||
clear: none;
|
||||
}
|
||||
.navbar-nav {
|
||||
float: left;
|
||||
margin-top: 0;
|
||||
|
2
dist/css/bootstrap.min.css
vendored
2
dist/css/bootstrap.min.css
vendored
File diff suppressed because one or more lines are too long
@ -128,6 +128,7 @@
|
||||
// Brand/project name
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
margin-right: 15px;
|
||||
padding-top: @navbar-padding-vertical;
|
||||
padding-bottom: @navbar-padding-vertical;
|
||||
font-size: @font-size-large;
|
||||
@ -322,6 +323,11 @@
|
||||
|
||||
@media screen and (min-width: @grid-float-breakpoint) {
|
||||
|
||||
// Undo clearing to keep nav and brand horizontal
|
||||
.nav-collapse {
|
||||
clear: none;
|
||||
}
|
||||
|
||||
.navbar-nav {
|
||||
float: left;
|
||||
// undo margin to make nav extend full height of navbar
|
||||
|
Loading…
x
Reference in New Issue
Block a user