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:
parent
87030c98ac
commit
3283fe1b52
@ -403,7 +403,7 @@ $utilities: map-merge(
|
||||
),
|
||||
"font-family": (
|
||||
property: font-family,
|
||||
class: text,
|
||||
class: font,
|
||||
values: (monospace: $font-family-monospace)
|
||||
),
|
||||
"rounded": (
|
||||
|
@ -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
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user