Fixes #11390: Add max-width to containers within jumbotrons to avoid horizontal scrollbar

This commit is contained in:
Mark Otto 2013-11-29 18:33:59 -08:00
parent 09cd5289ab
commit a4c54b5e5d
3 changed files with 9 additions and 1 deletions

View File

@ -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;

File diff suppressed because one or more lines are too long

View File

@ -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);