mirror of
https://github.com/twbs/bootstrap.git
synced 2025-08-26 14:54:27 +02:00
Revert "Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376)"
This reverts commit 2f21403a93
.
This commit is contained in:
@@ -148,7 +148,7 @@ $spacers: (
|
||||
5: ($spacer * 3)
|
||||
) !default;
|
||||
|
||||
// This variable affects the `.h-*` classes.
|
||||
// This variable affects the `.h-*` and `.w-*` classes.
|
||||
$sizes: (
|
||||
25: 25%,
|
||||
50: 50%,
|
||||
|
@@ -1,6 +1,6 @@
|
||||
// Width and height
|
||||
|
||||
@each $prop, $abbrev in (height: h) {
|
||||
@each $prop, $abbrev in (width: w, height: h) {
|
||||
@each $size, $length in $sizes {
|
||||
.#{$abbrev}-#{$size} { #{$prop}: $length !important; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user