diff options
Diffstat (limited to 'src/pybind/mgr/dashboard/frontend/src/styles/defaults/_functions.scss')
-rw-r--r-- | src/pybind/mgr/dashboard/frontend/src/styles/defaults/_functions.scss | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_functions.scss b/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_functions.scss new file mode 100644 index 000000000..806882b7f --- /dev/null +++ b/src/pybind/mgr/dashboard/frontend/src/styles/defaults/_functions.scss @@ -0,0 +1,5 @@ +@use 'sass:math'; + +@function strip-unit($value) { + @return math.div($value, $value * 0 + 1); +} |