]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Rename mh-* and mw-* to max-h/w-*, add additional width and height values
authorMark Otto <markdotto@gmail.com>
Tue, 8 Apr 2025 04:12:07 +0000 (21:12 -0700)
committerMark Otto <markdotto@gmail.com>
Sat, 31 May 2025 03:32:57 +0000 (20:32 -0700)
Fixes #41330, fixes #40674.

scss/_utilities.scss

index d43feeefe935ed575d9eab9a46f34b0faea5dd2f..efb0ccd88301bef05332ea90cf5f30bbe3617956 100644 (file)
@@ -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,