diff options
| author | Shohei Yoshida <[email protected]> | 2019-06-05 00:51:36 +0900 |
|---|---|---|
| committer | GitHub <[email protected]> | 2019-06-05 00:51:36 +0900 |
| commit | 3283fe1b52f18b87f55dfec0a5a5d4733994737d (patch) | |
| tree | abf459e4ac98b544fd4eaad9685c79dc18d5ae86 | |
| parent | 87030c98accc7d2dbdbbd22eccbd4a5a837648ff (diff) | |
| download | bootstrap-3283fe1b52f18b87f55dfec0a5a5d4733994737d.tar.xz bootstrap-3283fe1b52f18b87f55dfec0a5a5d4733994737d.zip | |
Rename .text-monospace to .font-monospace (#28867)
| -rw-r--r-- | scss/_utilities.scss | 2 | ||||
| -rw-r--r-- | site/content/docs/4.3/migration.md | 1 | ||||
| -rw-r--r-- | site/content/docs/4.3/utilities/text.md | 4 |
3 files changed, 4 insertions, 3 deletions
diff --git a/scss/_utilities.scss b/scss/_utilities.scss index fec205100..e22935d82 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -403,7 +403,7 @@ $utilities: map-merge( ), "font-family": ( property: font-family, - class: text, + class: font, values: (monospace: $font-family-monospace) ), "rounded": ( diff --git a/site/content/docs/4.3/migration.md b/site/content/docs/4.3/migration.md index e2ced63b3..85e9f6dcf 100644 --- a/site/content/docs/4.3/migration.md +++ b/site/content/docs/4.3/migration.md @@ -91,6 +91,7 @@ Badges were overhauled to better differentiate themselves from buttons and to be ## Utilities +- Renamed `.text-monospace` to `.font-monospace` - **Todo:** Drop `.text-hide` as it's an antiquated method for hiding text that shouldn't be used anymore - **Todo:** Split utilities into property-value utility classes and helpers diff --git a/site/content/docs/4.3/utilities/text.md b/site/content/docs/4.3/utilities/text.md index 514018e76..2cc8390e6 100644 --- a/site/content/docs/4.3/utilities/text.md +++ b/site/content/docs/4.3/utilities/text.md @@ -80,10 +80,10 @@ Quickly change the weight (boldness) of text or italicize text. ## Monospace -Change a selection to our monospace font stack with `.text-monospace`. +Change a selection to our monospace font stack with `.font-monospace`. {{< example >}} -<p class="text-monospace">This is in monospace</p> +<p class="font-monospace">This is in monospace</p> {{< /example >}} ## Reset color |
