mirror of
https://github.com/twbs/bootstrap.git
synced 2025-01-17 09:52:29 +01:00
Fix navbar on phone/tablet devices after navbar overhaul
This commit is contained in:
parent
8b3a1702d4
commit
3326e1b21e
6
docs/assets/css/bootstrap.css
vendored
6
docs/assets/css/bootstrap.css
vendored
@ -3490,7 +3490,7 @@ button.close {
|
||||
|
||||
.navbar {
|
||||
position: relative;
|
||||
padding: 10px 15px;
|
||||
padding: 0 15px;
|
||||
background-color: #eeeeee;
|
||||
border-radius: 4px;
|
||||
}
|
||||
@ -3741,10 +3741,6 @@ button.close {
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.navbar {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
margin-right: 5px;
|
||||
|
@ -5,7 +5,7 @@
|
||||
// Wrapper and base class
|
||||
.navbar {
|
||||
position: relative;
|
||||
padding: 10px 15px;
|
||||
padding: 0px 15px;
|
||||
background-color: @navbar-bg;
|
||||
border-radius: @border-radius-base;
|
||||
// Prevent floats from breaking the navbar
|
||||
@ -264,10 +264,6 @@
|
||||
|
||||
@media screen and (min-width: @screen-tablet) {
|
||||
|
||||
.navbar {
|
||||
padding-top: 0;
|
||||
padding-bottom: 0;
|
||||
}
|
||||
.navbar-brand {
|
||||
float: left;
|
||||
margin-left: -5px;
|
||||
|
Loading…
x
Reference in New Issue
Block a user