]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Add new .bg-body utility class (#29511)
authorMark Otto <otto@github.com>
Thu, 10 Oct 2019 18:18:19 +0000 (11:18 -0700)
committerXhmikosR <xhmikosr@gmail.com>
Thu, 10 Oct 2019 18:18:19 +0000 (21:18 +0300)
scss/_utilities.scss
site/content/docs/4.3/migration.md

index 4864ec6640eb9c0401e122b0a0198ef0e5bd1839..ad91d2d2b401a02acd46e95ed89590e14e932e8d 100644 (file)
@@ -410,6 +410,7 @@ $utilities: map-merge(
       values: map-merge(
         $theme-colors,
         (
+          body: $body-bg,
           white: $white,
           transparent: transparent
         )
index d6a2b5e17811962dc3883535b6e724a62d97f362..4b98e096d6b75eca20af5dd23484ca667ee17291 100644 (file)
@@ -134,6 +134,7 @@ Badges were overhauled to better differentiate themselves from buttons and to be
 - Renamed `.text-monospace` to `.font-monospace`
 - Decreased the number of responsive order utilities per breakpoint. The highest order utility with a number now is `.order-5` instead of `.order-12`. [See #28874](https://github.com/twbs/bootstrap/pull/28874).
 - New `line-height` utilities: `.lh-1`, `.lh-sm`, `.lh-base` and `.lh-lg`. See [here]({{< docsref "/utilities/text#line-height" >}}).
+- Added `.bg-body` for quickly setting the `<body>`'s background to additional elements.
 - **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