mirror of
https://github.com/twbs/bootstrap.git
synced 2022-11-09 12:25:43 -05:00
Fixes #11390: Add max-width to containers within jumbotrons to avoid horizontal scrollbar
This commit is contained in:
parent
09cd5289ab
commit
a4c54b5e5d
3 changed files with 9 additions and 1 deletions
4
dist/css/bootstrap.css
vendored
4
dist/css/bootstrap.css
vendored
|
@ -5179,6 +5179,10 @@ a.list-group-item.active > .badge,
|
|||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.jumbotron .container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: 768px) {
|
||||
.jumbotron {
|
||||
padding-top: 48px;
|
||||
|
|
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
|
@ -24,6 +24,10 @@
|
|||
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
|
||||
}
|
||||
|
||||
.container {
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
@media screen and (min-width: @screen-sm-min) {
|
||||
padding-top: (@jumbotron-padding * 1.6);
|
||||
padding-bottom: (@jumbotron-padding * 1.6);
|
||||
|
|
Loading…
Reference in a new issue