diff --git a/assets/scss/_component-examples.scss b/assets/scss/_component-examples.scss index cb9b54fb1d4f..f0a1bd8fd8df 100644 --- a/assets/scss/_component-examples.scss +++ b/assets/scss/_component-examples.scss @@ -118,7 +118,6 @@ position: relative; padding: 1rem; margin: 1rem (-$grid-gutter-width / 2); - overflow: auto; border: solid #f7f7f9; border-width: .2rem 0 0; @include clearfix(); diff --git a/docs/4.0/components/buttons.md b/docs/4.0/components/buttons.md index 6dfed7ddf2f5..b912ec89b289 100644 --- a/docs/4.0/components/buttons.md +++ b/docs/4.0/components/buttons.md @@ -125,27 +125,27 @@ Note that pre-checked buttons require you to manually add the `.active` class to {% example html %}
{% endexample %} {% example html %} -
+
{% endexample %} diff --git a/docs/4.0/components/card.md b/docs/4.0/components/card.md index af231903f758..0971e90c979a 100644 --- a/docs/4.0/components/card.md +++ b/docs/4.0/components/card.md @@ -17,7 +17,7 @@ Cards are built with as little markup and styles as possible, but still manage t Below is an example of a basic card with mixed content and a fixed width. Cards have no fixed width to start, so they'll naturally fill the full width of its parent element. This is easily customized with our various [sizing options](#sizing). {% example html %} -
+
Card image cap

Card title

@@ -50,7 +50,7 @@ Card titles are used by adding `.card-title` to a `` tag. In the same way, l Subtitles are used by adding a `.card-subtitle` to a `` tag. If the `.card-title` and the `.card-subtitle` items are placed in a `.card-body` item, the card title and subtitle are aligned nicely. {% example html %} -
+

Card title

Card subtitle
@@ -66,7 +66,7 @@ Subtitles are used by adding a `.card-subtitle` to a `` tag. If the `.card-t `.card-img-top` places an image to the top of the card. With `.card-text`, text can be added to the card. Text within `.card-text` can also be styled with the standard HTML tags. {% example html %} -
+
Card image cap

Some quick example text to build on the card title and make up the bulk of the card's content.

@@ -79,7 +79,7 @@ Subtitles are used by adding a `.card-subtitle` to a `` tag. If the `.card-t Create lists of content in a card with a flush list group. {% example html %} -
+
  • Cras justo odio
  • Dapibus ac facilisis in
  • @@ -89,7 +89,7 @@ Create lists of content in a card with a flush list group. {% endexample %} {% example html %} -
    +
    Featured
    @@ -106,7 +106,7 @@ Create lists of content in a card with a flush list group. Mix and match multiple content types to create the card you need, or throw everything in there. Shown below are image styles, blocks, text styles, and a list group—all wrapped in a fixed-width card. {% example html %} -
    +
    Card image cap

    Card title

    @@ -242,7 +242,7 @@ Use our handful of [available sizing utilities]({{ site.baseurl }}/docs/{{ site. Use custom CSS in your stylesheets or as inline styles to set a width. {% example html %} -
    +

    Special title treatment

    With supporting text below as a natural lead-in to additional content.

    @@ -256,7 +256,7 @@ Use custom CSS in your stylesheets or as inline styles to set a width. You can quickly change the text alignment of any card—in its entirety or specific parts—with our [text align classes]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities/text/#text-alignment). {% example html %} -
    +

    Special title treatment

    With supporting text below as a natural lead-in to additional content.

    @@ -264,7 +264,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
    -
    +

    Special title treatment

    With supporting text below as a natural lead-in to additional content.

    @@ -272,7 +272,7 @@ You can quickly change the text alignment of any card—in its entirety or speci
    -
    +

    Special title treatment

    With supporting text below as a natural lead-in to additional content.

    @@ -383,7 +383,7 @@ Use [text and background utilities]({{ site.baseurl }}/docs/{{ site.docs_version {% example html %} {% for color in site.data.theme-colors %} -
    +
    Header

    {{ color.name | capitalize }} card title

    @@ -401,7 +401,7 @@ Use [border utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities {% example html %} {% for color in site.data.theme-colors %} -
    +
    Header

    {{ color.name | capitalize }} card title

    @@ -415,7 +415,7 @@ Use [border utilities]({{ site.baseurl }}/docs/{{ site.docs_version }}/utilities You can also change the borders on the card header and footer as needed, and even remove their `background-color` with `.bg-transparent`. {% example html %} -
    +
    Header

    Success card title

    diff --git a/docs/4.0/components/dropdowns.md b/docs/4.0/components/dropdowns.md index b49e84f920eb..fd4132267c89 100644 --- a/docs/4.0/components/dropdowns.md +++ b/docs/4.0/components/dropdowns.md @@ -563,7 +563,7 @@ By default, a dropdown menu is automatically positioned 100% from the top and al {% example html %}