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;
|
float: left;
|
||||||
padding-top: 15px;
|
padding-top: 15px;
|
||||||
padding-bottom: 15px;
|
padding-bottom: 15px;
|
||||||
|
margin-right: 15px;
|
||||||
font-size: 18px;
|
font-size: 18px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
color: #777777;
|
color: #777777;
|
||||||
@ -3113,6 +3114,9 @@ button.close {
|
|||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 768px) {
|
@media screen and (min-width: 768px) {
|
||||||
|
.nav-collapse {
|
||||||
|
clear: none;
|
||||||
|
}
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
float: left;
|
float: left;
|
||||||
margin-top: 0;
|
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
|
// Brand/project name
|
||||||
.navbar-brand {
|
.navbar-brand {
|
||||||
float: left;
|
float: left;
|
||||||
|
margin-right: 15px;
|
||||||
padding-top: @navbar-padding-vertical;
|
padding-top: @navbar-padding-vertical;
|
||||||
padding-bottom: @navbar-padding-vertical;
|
padding-bottom: @navbar-padding-vertical;
|
||||||
font-size: @font-size-large;
|
font-size: @font-size-large;
|
||||||
@ -322,6 +323,11 @@
|
|||||||
|
|
||||||
@media screen and (min-width: @grid-float-breakpoint) {
|
@media screen and (min-width: @grid-float-breakpoint) {
|
||||||
|
|
||||||
|
// Undo clearing to keep nav and brand horizontal
|
||||||
|
.nav-collapse {
|
||||||
|
clear: none;
|
||||||
|
}
|
||||||
|
|
||||||
.navbar-nav {
|
.navbar-nav {
|
||||||
float: left;
|
float: left;
|
||||||
// undo margin to make nav extend full height of navbar
|
// undo margin to make nav extend full height of navbar
|
||||||
|
Loading…
x
Reference in New Issue
Block a user