aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-11-29 18:33:59 -0800
committerMark Otto <[email protected]>2013-11-29 18:33:59 -0800
commita4c54b5e5d948e9ec7cdd22bc0efa2241d2605c6 (patch)
treeac8ea0406197a6b6d69b1a2315b7ee36ccd729b8 /less
parent09cd5289ab540486a9c601e79860b34a2fe1873c (diff)
downloadbootstrap-a4c54b5e5d948e9ec7cdd22bc0efa2241d2605c6.tar.xz
bootstrap-a4c54b5e5d948e9ec7cdd22bc0efa2241d2605c6.zip
Fixes #11390: Add max-width to containers within jumbotrons to avoid horizontal scrollbar
Diffstat (limited to 'less')
-rw-r--r--less/jumbotron.less4
1 files changed, 4 insertions, 0 deletions
diff --git a/less/jumbotron.less b/less/jumbotron.less
index 22c29780a..4b0bf220d 100644
--- a/less/jumbotron.less
+++ b/less/jumbotron.less
@@ -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);