aboutsummaryrefslogtreecommitdiff
path: root/docs/examples/carousel/carousel.css
diff options
context:
space:
mode:
authorMark Otto <[email protected]>2014-06-08 13:28:45 -0700
committerMark Otto <[email protected]>2014-06-08 13:28:45 -0700
commitd1cf27bd0336b0dcec3fd40314e405e2a5bc0a66 (patch)
tree245d672c3b29e82bf68d7a137760c97de5c89ec9 /docs/examples/carousel/carousel.css
parent1e3b93804fa88d247d8708529fb44b28d73fd91f (diff)
downloadbootstrap-d1cf27bd0336b0dcec3fd40314e405e2a5bc0a66.tar.xz
bootstrap-d1cf27bd0336b0dcec3fd40314e405e2a5bc0a66.zip
fix nested containers (addresses some of #13682)
Diffstat (limited to 'docs/examples/carousel/carousel.css')
-rw-r--r--docs/examples/carousel/carousel.css17
1 files changed, 4 insertions, 13 deletions
diff --git a/docs/examples/carousel/carousel.css b/docs/examples/carousel/carousel.css
index 08448b99c..bd7567af3 100644
--- a/docs/examples/carousel/carousel.css
+++ b/docs/examples/carousel/carousel.css
@@ -22,7 +22,7 @@ body {
}
/* Flip around the padding for proper display in narrow viewports */
-.navbar-wrapper .container {
+.navbar-wrapper > .container {
padding-right: 0;
padding-left: 0;
}
@@ -30,6 +30,9 @@ body {
padding-right: 15px;
padding-left: 15px;
}
+.navbar-wrapper .navbar .container {
+ width: auto;
+}
/* CUSTOMIZE THE CAROUSEL
@@ -63,12 +66,6 @@ body {
/* 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 */
.marketing .col-lg-4 {
margin-bottom: 20px;
@@ -104,12 +101,6 @@ body {
@media (min-width: 768px) {
- /* Remove the edge padding needed for mobile */
- .marketing {
- padding-right: 0;
- padding-left: 0;
- }
-
/* Navbar positioning foo */
.navbar-wrapper {
margin-top: 20px;