From: Kyle Tsang <6854874+kyletsang@users.noreply.github.com> Date: Wed, 18 Aug 2021 04:30:06 +0000 (-0700) Subject: Fix typo in placeholder docs (#34752) X-Git-Tag: v5.1.1~42 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b10c1a76c7b7435159f565d11434425d88f988d4;p=thirdparty%2Fbootstrap.git Fix typo in placeholder docs (#34752) --- diff --git a/site/content/docs/5.1/components/placeholders.md b/site/content/docs/5.1/components/placeholders.md index 41313a70fd..2b3387ac75 100644 --- a/site/content/docs/5.1/components/placeholders.md +++ b/site/content/docs/5.1/components/placeholders.md @@ -73,7 +73,7 @@ In the example below, we take a typical card component and recreate it with plac ## How it works -Create placeholders with the `.placeholder` class and a grid column class (e.g., `.col-6`) to set the `width`. They can replace the text inside an element or as be added as a modifier class to an existing component. +Create placeholders with the `.placeholder` class and a grid column class (e.g., `.col-6`) to set the `width`. They can replace the text inside an element or be added as a modifier class to an existing component. We apply additional styling to `.btn`s via `::before` to ensure the `height` is respected. You may extend this pattern for other situations as needed, or add a ` ` within the element to reflect the height when actual text is rendered in its place.