Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
B
bootstrap
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
bootstrap
Commits
a4c54b5e
Commit
a4c54b5e
authored
Nov 29, 2013
by
Mark Otto
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixes #11390: Add max-width to containers within jumbotrons to avoid horizontal scrollbar
parent
09cd5289
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
1 deletion
+9
-1
dist/css/bootstrap.css
dist/css/bootstrap.css
+4
-0
dist/css/bootstrap.min.css
dist/css/bootstrap.min.css
+1
-1
less/jumbotron.less
less/jumbotron.less
+4
-0
No files found.
dist/css/bootstrap.css
View file @
a4c54b5e
...
@@ -5179,6 +5179,10 @@ a.list-group-item.active > .badge,
...
@@ -5179,6 +5179,10 @@ a.list-group-item.active > .badge,
border-radius
:
6px
;
border-radius
:
6px
;
}
}
.jumbotron
.container
{
max-width
:
100%
;
}
@media
screen
and
(
min-width
:
768px
)
{
@media
screen
and
(
min-width
:
768px
)
{
.jumbotron
{
.jumbotron
{
padding-top
:
48px
;
padding-top
:
48px
;
...
...
dist/css/bootstrap.min.css
View file @
a4c54b5e
This source diff could not be displayed because it is too large. You can
view the blob
instead.
less/jumbotron.less
View file @
a4c54b5e
...
@@ -24,6 +24,10 @@
...
@@ -24,6 +24,10 @@
border-radius: @border-radius-large; // Only round corners at higher resolutions if contained in a container
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) {
@media screen and (min-width: @screen-sm-min) {
padding-top: (@jumbotron-padding * 1.6);
padding-top: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
padding-bottom: (@jumbotron-padding * 1.6);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment