From 3751379f1e9a4c215fb6eb898b4ccc67659b9ace Mon Sep 17 00:00:00 2001 From: stephanchrst Date: Tue, 10 May 2022 21:51:50 +0700 Subject: initial commit 2 --- .../static/lib/bootstrap/scss/utilities/_sizing.scss | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 addons/web/static/lib/bootstrap/scss/utilities/_sizing.scss (limited to 'addons/web/static/lib/bootstrap/scss/utilities/_sizing.scss') diff --git a/addons/web/static/lib/bootstrap/scss/utilities/_sizing.scss b/addons/web/static/lib/bootstrap/scss/utilities/_sizing.scss new file mode 100644 index 00000000..f3764880 --- /dev/null +++ b/addons/web/static/lib/bootstrap/scss/utilities/_sizing.scss @@ -0,0 +1,20 @@ +// stylelint-disable declaration-no-important + +// Width and height + +@each $prop, $abbrev in (width: w, height: h) { + @each $size, $length in $sizes { + .#{$abbrev}-#{$size} { #{$prop}: $length !important; } + } +} + +.mw-100 { max-width: 100% !important; } +.mh-100 { max-height: 100% !important; } + +// Viewport additional helpers + +.min-vw-100 { min-width: 100vw !important; } +.min-vh-100 { min-height: 100vh !important; } + +.vw-100 { width: 100vw !important; } +.vh-100 { height: 100vh !important; } -- cgit v1.2.3