mirror of
https://github.com/twbs/bootstrap.git
synced 2025-03-15 15:29:22 +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": (
|
"font-family": (
|
||||||
property: font-family,
|
property: font-family,
|
||||||
class: text,
|
class: font,
|
||||||
values: (monospace: $font-family-monospace)
|
values: (monospace: $font-family-monospace)
|
||||||
),
|
),
|
||||||
"rounded": (
|
"rounded": (
|
||||||
|
@ -91,6 +91,7 @@ Badges were overhauled to better differentiate themselves from buttons and to be
|
|||||||
|
|
||||||
## Utilities
|
## 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:** 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
|
- **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
|
## Monospace
|
||||||
|
|
||||||
Change a selection to our monospace font stack with `.text-monospace`.
|
Change a selection to our monospace font stack with `.font-monospace`.
|
||||||
|
|
||||||
{{< example >}}
|
{{< example >}}
|
||||||
<p class="text-monospace">This is in monospace</p>
|
<p class="font-monospace">This is in monospace</p>
|
||||||
{{< /example >}}
|
{{< /example >}}
|
||||||
|
|
||||||
## Reset color
|
## Reset color
|
||||||
|
Loading…
x
Reference in New Issue
Block a user