mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-23 18:40:03 +00:00
fix nested containers (addresses some of #13682)
This commit is contained in:
parent
1e3b93804f
commit
d1cf27bd03
@ -22,7 +22,7 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Flip around the padding for proper display in narrow viewports */
|
/* Flip around the padding for proper display in narrow viewports */
|
||||||
.navbar-wrapper .container {
|
.navbar-wrapper > .container {
|
||||||
padding-right: 0;
|
padding-right: 0;
|
||||||
padding-left: 0;
|
padding-left: 0;
|
||||||
}
|
}
|
||||||
@ -30,6 +30,9 @@ body {
|
|||||||
padding-right: 15px;
|
padding-right: 15px;
|
||||||
padding-left: 15px;
|
padding-left: 15px;
|
||||||
}
|
}
|
||||||
|
.navbar-wrapper .navbar .container {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
/* CUSTOMIZE THE CAROUSEL
|
/* CUSTOMIZE THE CAROUSEL
|
||||||
@ -63,12 +66,6 @@ body {
|
|||||||
/* MARKETING CONTENT
|
/* MARKETING CONTENT
|
||||||
-------------------------------------------------- */
|
-------------------------------------------------- */
|
||||||
|
|
||||||
/* Pad the edges of the mobile views a bit */
|
|
||||||
.marketing {
|
|
||||||
padding-right: 15px;
|
|
||||||
padding-left: 15px;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Center align the text within the three columns below the carousel */
|
/* Center align the text within the three columns below the carousel */
|
||||||
.marketing .col-lg-4 {
|
.marketing .col-lg-4 {
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
@ -104,12 +101,6 @@ body {
|
|||||||
|
|
||||||
@media (min-width: 768px) {
|
@media (min-width: 768px) {
|
||||||
|
|
||||||
/* Remove the edge padding needed for mobile */
|
|
||||||
.marketing {
|
|
||||||
padding-right: 0;
|
|
||||||
padding-left: 0;
|
|
||||||
}
|
|
||||||
|
|
||||||
/* Navbar positioning foo */
|
/* Navbar positioning foo */
|
||||||
.navbar-wrapper {
|
.navbar-wrapper {
|
||||||
margin-top: 20px;
|
margin-top: 20px;
|
||||||
|
@ -12,3 +12,7 @@ body {
|
|||||||
.theme-showcase > p > .btn {
|
.theme-showcase > p > .btn {
|
||||||
margin: 5px 0;
|
margin: 5px 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.theme-showcase .navbar .container {
|
||||||
|
width: auto;
|
||||||
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user