diff options
| author | Taufek Johar <[email protected]> | 2018-01-22 04:28:22 +0800 |
|---|---|---|
| committer | Mark Otto <[email protected]> | 2018-01-21 12:28:22 -0800 |
| commit | 2b42ef0db282dc610e9453afb5c7379740ebe81e (patch) | |
| tree | f068b0737dd8663f54a845b4f93beceab53e6fbd /scss | |
| parent | 8374f542be7cd87ba4872727dc67e4fa8c547246 (diff) | |
| download | bootstrap-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.scss | 3 |
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 |
