diff options
author | Shohei Yoshida <ysds.code@gmail.com> | 2019-06-04 18:51:36 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-04 18:51:36 +0300 |
commit | 3283fe1b52f18b87f55dfec0a5a5d4733994737d (patch) | |
tree | abf459e4ac98b544fd4eaad9685c79dc18d5ae86 /site | |
parent | 87030c98accc7d2dbdbbd22eccbd4a5a837648ff (diff) |
Rename .text-monospace to .font-monospace (#28867)
Diffstat (limited to 'site')
-rw-r--r-- | site/content/docs/4.3/migration.md | 1 | ||||
-rw-r--r-- | site/content/docs/4.3/utilities/text.md | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/site/content/docs/4.3/migration.md b/site/content/docs/4.3/migration.md index e2ced63b36..85e9f6dcfb 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 514018e76e..2cc8390e61 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 |