aboutsummaryrefslogtreecommitdiff
path: root/less
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2013-12-14 21:50:47 -0800
committerMark Otto <[email protected]>2013-12-14 21:50:47 -0800
commit168469f545a189fa51e5d36546e7972f4748ec3f (patch)
treeab31d3b466fa0aa3b94ad2e471ee29887bf7c3e8 /less
parent647e9eb0f192a18ee84b7e8a4ca162354d98cebb (diff)
downloadbootstrap-168469f545a189fa51e5d36546e7972f4748ec3f.tar.xz
bootstrap-168469f545a189fa51e5d36546e7972f4748ec3f.zip
Fixes #11588: Scope font-size to only p elements in a .jumbotron and remove the supersized line-height from the base class
Diffstat (limited to 'less')
-rw-r--r--less/jumbotron.less8
1 files changed, 3 insertions, 5 deletions
diff --git a/less/jumbotron.less b/less/jumbotron.less
index 0460b69d4..a15e16971 100644
--- a/less/jumbotron.less
+++ b/less/jumbotron.less
@@ -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 & {