summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss
diff options
context:
space:
mode:
authorSunder Tattavarada <statta@research.att.com>2020-01-14 15:22:26 +0000
committerGerrit Code Review <gerrit@onap.org>2020-01-14 15:22:26 +0000
commitdc9f0cb59c4b105de8ee17bc3e9e565870e02935 (patch)
treea7cae689d8d43cfd406aa04516cf1771a4434c99 /portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss
parentf81c0c718043517218d55908bdad0bfcada9a969 (diff)
parentf446cfb57f14004d6b34b137f8fa9802f6fdbdf6 (diff)
Merge "Added portal-FE-common - angular upgrade code"
Diffstat (limited to 'portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss')
-rw-r--r--portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss12
1 files changed, 12 insertions, 0 deletions
diff --git a/portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss b/portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss
new file mode 100644
index 00000000..e95a4db3
--- /dev/null
+++ b/portal-FE-common/src/styles/bootstrap/utilities/_sizing.scss
@@ -0,0 +1,12 @@
+// 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; }