diff --git a/docs/_data/nav.yml b/docs/_data/nav.yml index fb2713b9f2..1fc97157e2 100644 --- a/docs/_data/nav.yml +++ b/docs/_data/nav.yml @@ -15,6 +15,7 @@ pages: - title: Overview - title: Grid + - title: Flexbox grid - title: Media object - title: Responsive utilities diff --git a/docs/_layouts/docs.html b/docs/_layouts/docs.html index fc47e6f405..6e8cddf212 100644 --- a/docs/_layouts/docs.html +++ b/docs/_layouts/docs.html @@ -21,10 +21,10 @@
-
+
{% include nav-docs.html %}
-
+

{{ page.title }}

{{ content }}
diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index 2db8f8a2a1..b952d7517e 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -5,9 +5,12 @@ // .bd-example-row { - .row { - margin-bottom: 1rem; + .row + .row { + margin-top: 1rem; + } + .row { + > .col, > [class^="col-"] { padding-top: .75rem; padding-bottom: .75rem; @@ -15,6 +18,18 @@ border: 1px solid rgba(86,61,124,.2); } } + + .flex-items-xs-top, + .flex-items-xs-middle, + .flex-items-xs-bottom { + min-height: 6rem; + background-color: rgba(255,0,0,.1); + } +} + +.bd-example-row-flex-cols .row { + min-height: 10rem; + background-color: rgba(255,0,0,.1); } diff --git a/docs/examples/blog/index.html b/docs/examples/blog/index.html index a9f9b78ede..d4e9dbcc55 100644 --- a/docs/examples/blog/index.html +++ b/docs/examples/blog/index.html @@ -111,7 +111,7 @@
-
+