diff --git a/docs/_includes/nav-docs.html b/docs/_includes/nav-docs.html index 2b44c8acc7..05a9c0b856 100644 --- a/docs/_includes/nav-docs.html +++ b/docs/_includes/nav-docs.html @@ -1,5 +1,5 @@
diff --git a/docs/assets/scss/_component-examples.scss b/docs/assets/scss/_component-examples.scss index cea237de0c..ab3a48dde2 100644 --- a/docs/assets/scss/_component-examples.scss +++ b/docs/assets/scss/_component-examples.scss @@ -83,7 +83,7 @@ .bd-example { position: relative; padding: 1rem; - margin: 1rem -1rem; + margin: 1rem (-$grid-gutter-width-base / 2); border: solid #f7f7f9; border-width: .2rem 0 0; @include clearfix(); diff --git a/docs/components/alerts.md b/docs/components/alerts.md index da72e322e5..dae4ec7d36 100644 --- a/docs/components/alerts.md +++ b/docs/components/alerts.md @@ -55,12 +55,13 @@ Use the `.alert-link` utility class to quickly provide matching colored links wi ### Additional content -Alerts can also contain additional HTML elements like headings and paragraphs. +Alerts can also contain additional HTML elements like headings, paragraphs and dividers. {% example html %}Aww yeah, you successfully read this important alert message. This example text is going to run a bit longer so that you can see how spacing within an alert works with this kind of content.
+Whenever you need to, be sure to use margin utilities to keep things nice and tidy.