8000 Merge pull request #18260 from twbs/fix-18259 · liuwenye2010/bootstrap@1f487f7 · GitHub
[go: up one dir, main page]

Skip to content

Commit 1f487f7

Browse files
committed
Merge pull request twbs#18260 from twbs/fix-18259
Move viewport-dependent padding tweak into main .jumbotron block
2 parents 94d7a8f + 9da0b71 commit 1f487f7

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

scss/_jumbotron.scss

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,18 +3,16 @@
33
margin-bottom: $jumbotron-padding;
44
background-color: $jumbotron-bg;
55
@include border-radius($border-radius-lg);
6+
7+
@include media-breakpoint-up(sm) {
8+
padding: ($jumbotron-padding * 2) $jumbotron-padding;
9+
}
610
}
711

812
.jumbotron-hr {
913
border-top-color: darken($jumbotron-bg, 10%);
1014
}
1115

12-
@include media-breakpoint-up(sm) {
13-
.jumbotron {
14-
padding: ($jumbotron-padding * 2) $jumbotron-padding;
15-
}
16-
}
17-
1816
.jumbotron-fluid {
1917
padding-right: 0;
2018
padding-left: 0;

0 commit comments

Comments
 (0)
0