]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename .text-monospace to .font-monospace (#28867)
authorShohei Yoshida <ysds.code@gmail.com>
Tue, 4 Jun 2019 15:51:36 +0000 (00:51 +0900)
committerGitHub <noreply@github.com>
Tue, 4 Jun 2019 15:51:36 +0000 (00:51 +0900)
scss/_utilities.scss
site/content/docs/4.3/migration.md
site/content/docs/4.3/utilities/text.md

index fec20510095a0cc220c7de1950db5b0f4c9f8156..e22935d827ff2c5ff0a67723466980971b698587 100644 (file)
@@ -403,7 +403,7 @@ $utilities: map-merge(
     ),
     "font-family": (
       property: font-family,
-      class: text,
+      class: font,
       values: (monospace: $font-family-monospace)
     ),
     "rounded": (
index e2ced63b366615eccae7b854b11405c22296114f..85e9f6dcfb550edd05cb525a8e06300ce36cae1b 100644 (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
 
index 514018e76e8911503a65a18be8ef051d5b05f811..2cc8390e616f10863a43a9281a80947cadd907c5 100644 (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