Skip to content

Commit

Permalink
Fixes #11588: Scope font-size to only p elements in a .jumbotron and …
Browse files Browse the repository at this point in the history
…remove the supersized line-height from the base class
  • Loading branch information
mdo committed Dec 15, 2013
1 parent 647e9eb commit 168469f
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 11 deletions.
8 changes: 3 additions & 5 deletions dist/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -4278,19 +4278,17 @@ a.list-group-item.active > .badge,
.jumbotron {
padding: 30px;
margin-bottom: 30px;
font-size: 21px;
font-weight: 200;
line-height: 2.1428571435;
color: inherit;
background-color: #eee;
}
.jumbotron h1,
.jumbotron .h1 {
line-height: 1;
color: inherit;
}
.jumbotron p {
line-height: 1.4;
margin-bottom: 15px;
font-size: 21px;
font-weight: 200;
}
.container .jumbotron {
border-radius: 6px;
Expand Down
2 changes: 1 addition & 1 deletion dist/css/bootstrap.min.css

Large diffs are not rendered by default.

8 changes: 3 additions & 5 deletions less/jumbotron.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,19 +6,17 @@
.jumbotron {
padding: @jumbotron-padding;
margin-bottom: @jumbotron-padding;
font-size: @jumbotron-font-size;
font-weight: 200;
line-height: (@line-height-base * 1.5);
color: @jumbotron-color;
background-color: @jumbotron-bg;

h1,
.h1 {
line-height: 1;
color: @jumbotron-heading-color;
}
p {
line-height: 1.4;
margin-bottom: (@jumbotron-padding / 2);
font-size: @jumbotron-font-size;
font-weight: 200;
}

.container & {
Expand Down

0 comments on commit 168469f

Please sign in to comment.