1
0
mirror of https://github.com/twbs/bootstrap.git synced 2025-08-26 23:04:32 +02:00

Drop width from sizing utils given .col- classes can do the same thing (follow up to #22376)

This commit is contained in:
Mark Otto
2017-04-08 14:01:38 -07:00
committed by Mark Otto
parent 11c2c07e26
commit 2f21403a93
3 changed files with 5 additions and 12 deletions

View File

@@ -148,7 +148,7 @@ $spacers: (
5: ($spacer * 3)
) !default;
// This variable affects the `.h-*` and `.w-*` classes.
// This variable affects the `.h-*` classes.
$sizes: (
25: 25%,
50: 50%,

View File

@@ -1,6 +1,6 @@
// Width and height
@each $prop, $abbrev in (width: w, height: h) {
@each $prop, $abbrev in (height: h) {
@each $size, $length in $sizes {
.#{$abbrev}-#{$size} { #{$prop}: $length !important; }
}