From: louismaximepiton Date: Tue, 17 Jan 2023 08:46:05 +0000 (+0100) Subject: Harmonize the doc X-Git-Tag: v5.3.0-alpha2~133 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=5dc7f4c165c39b63eb5541a66d5ad443e35aaf09;p=thirdparty%2Fbootstrap.git Harmonize the doc --- diff --git a/site/content/docs/5.3/layout/columns.md b/site/content/docs/5.3/layout/columns.md index 1ed14844f3..e6f5255631 100644 --- a/site/content/docs/5.3/layout/columns.md +++ b/site/content/docs/5.3/layout/columns.md @@ -94,6 +94,8 @@ Or, change the alignment of each column individually with any of the responsive ### Horizontal alignment +Change the horizontal alignment with any of the responsive `justify-content-*` classes. + {{< example class="bd-example-row" >}}
diff --git a/site/content/docs/5.3/utilities/sizing.md b/site/content/docs/5.3/utilities/sizing.md index b8b58ddfdc..3d0f8e81c7 100644 --- a/site/content/docs/5.3/utilities/sizing.md +++ b/site/content/docs/5.3/utilities/sizing.md @@ -18,25 +18,27 @@ Width and height utilities are generated from the utility API in `_utilities.scs
Width auto
{{< /example >}} -{{< example >}} -
-
Height 25%
-
Height 50%
-
Height 75%
-
Height 100%
-
Height auto
+{{< example class="bd-example-flex" >}} +
+
Height 25%
+
Height 50%
+
Height 75%
+
Height 100%
+
Height auto
{{< /example >}} You can also use `max-width: 100%;` and `max-height: 100%;` utilities as needed. -{{< example >}} -{{< placeholder width="100%" height="100" class="mw-100" text="Max-width 100%" >}} +{{< example class="bd-example-flex" >}} +
+
Max-width 100%
+
{{< /example >}} -{{< example >}} -
-
Max-height 100%
+{{< example class="bd-example-flex" >}} +
+
Max-height 100%
{{< /example >}} diff --git a/site/content/docs/5.3/utilities/spacing.md b/site/content/docs/5.3/utilities/spacing.md index 3d17e081d5..c7a216c312 100644 --- a/site/content/docs/5.3/utilities/spacing.md +++ b/site/content/docs/5.3/utilities/spacing.md @@ -75,13 +75,13 @@ Here are some representative examples of these classes: Additionally, Bootstrap also includes an `.mx-auto` class for horizontally centering fixed-width block level content—that is, content that has `display: block` and a `width` set—by setting the horizontal margins to `auto`.
-
+
Centered element
```html -
+
Centered element
```