0
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-03-13 13:29:25 +01:00

Rename .text-monospace to .font-monospace (#28867)

This commit is contained in:
Shohei Yoshida 2019-06-05 00:51:36 +09:00 committed by GitHub
parent 87030c98ac
commit 3283fe1b52
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View File

@ -403,7 +403,7 @@ $utilities: map-merge(
),
"font-family": (
property: font-family,
class: text,
class: font,
values: (monospace: $font-family-monospace)
),
"rounded": (

View File

@ -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

View File

@ -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