From: Mark Otto Date: Tue, 8 Apr 2025 04:12:07 +0000 (-0700) Subject: Rename mh-* and mw-* to max-h/w-*, add additional width and height values X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=396f2bc4db1a2268bc4a6bba856edab01c999448;p=thirdparty%2Fbootstrap.git Rename mh-* and mw-* to max-h/w-*, add additional width and height values Fixes #41330, fixes #40674. --- diff --git a/scss/_utilities.scss b/scss/_utilities.scss index d43feeefe9..efb0ccd883 100644 --- a/scss/_utilities.scss +++ b/scss/_utilities.scss @@ -229,14 +229,25 @@ $utilities: map.merge( 50: 50%, 75: 75%, 100: 100%, - auto: auto + auto: auto, + min: min-content, + max: max-content, + fit: fit-content, ) ), "max-width": ( property: max-width, - class: mw, + class: max-w, values: (100: 100%) ), + "min-width": ( + property: min-width, + class: min-w, + values: ( + 0: 0, + 100: 100% + ) + ), "viewport-width": ( property: width, class: vw, @@ -255,14 +266,25 @@ $utilities: map.merge( 50: 50%, 75: 75%, 100: 100%, - auto: auto + auto: auto, + min: min-content, + max: max-content, + fit: fit-content, ) ), "max-height": ( property: max-height, - class: mh, + class: max-h, values: (100: 100%) ), + "min-height": ( + property: min-height, + class: min-h, + values: ( + 0: 0, + 100: 100%, + ), + ), "viewport-height": ( property: height, class: vh,