mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 23:04:32 +02:00
Refine containers and navbars
* Don't reset width on .container, .navbar-* .container, etc * Instead, use max-width to ensure proper styling for all navbars
This commit is contained in:
12
docs/assets/css/bootstrap.css
vendored
12
docs/assets/css/bootstrap.css
vendored
@@ -223,10 +223,8 @@ a:hover {
|
||||
border-radius: 500px;
|
||||
}
|
||||
|
||||
.container,
|
||||
.navbar-fixed-top .container,
|
||||
.navbar-fixed-bottom .container {
|
||||
width: 940px;
|
||||
.container {
|
||||
max-width: 940px;
|
||||
}
|
||||
|
||||
.row {
|
||||
@@ -5458,10 +5456,8 @@ a.badge:hover {
|
||||
}
|
||||
|
||||
@media (min-width: 1200px) {
|
||||
.container,
|
||||
.navbar-fixed-top .container,
|
||||
.navbar-fixed-bottom .container {
|
||||
width: 1170px;
|
||||
.container {
|
||||
max-width: 1170px;
|
||||
}
|
||||
.row {
|
||||
margin-right: -15px;
|
||||
|
Reference in New Issue
Block a user