aboutsummaryrefslogtreecommitdiff
path: root/scss
diff options
context:
space:
mode:
authorTaufek Johar <[email protected]>2018-01-22 04:28:22 +0800
committerMark Otto <[email protected]>2018-01-21 12:28:22 -0800
commit2b42ef0db282dc610e9453afb5c7379740ebe81e (patch)
treef068b0737dd8663f54a845b4f93beceab53e6fbd /scss
parent8374f542be7cd87ba4872727dc67e4fa8c547246 (diff)
downloadbootstrap-2b42ef0db282dc610e9453afb5c7379740ebe81e.tar.xz
bootstrap-2b42ef0db282dc610e9453afb5c7379740ebe81e.zip
Add CSS Utility for `auto` width and height Properties (#24249)
Currently bootstrap only provides 4 variations of `width` and `height` css utilities, which are: 1. 25% 2. 50% 3. 75% 4. 100%. Here, I'm adding `auto` to the list. This is useful when we need to reset the width/height value back to the browser default value at some point.
Diffstat (limited to 'scss')
-rw-r--r--scss/_variables.scss3
1 files changed, 2 insertions, 1 deletions
diff --git a/scss/_variables.scss b/scss/_variables.scss
index 92a164c60..9825b0808 100644
--- a/scss/_variables.scss
+++ b/scss/_variables.scss
@@ -132,7 +132,8 @@ $sizes: map-merge((
25: 25%,
50: 50%,
75: 75%,
- 100: 100%
+ 100: 100%,
+ auto: auto
), $sizes);
// stylelint-enable