build: more fixes

This commit is contained in:
ElevateBart
2021-12-07 13:39:19 -06:00
parent 56df63b1da
commit 3b873bce6d
3 changed files with 5 additions and 3 deletions

View File

@@ -7,6 +7,8 @@
* @return {String} - Updated string
*/
// Taken from https://gist.github.com/PuddingNL/51866d4b9f1151963fbd973bf1d66116
@use "sass:math";
@function str-replace($string, $search, $replace: '') {
$index: str-index($string, $search);
@@ -18,5 +20,5 @@
}
@function change-rem-unit-to-em($number) {
@return ($number / 1rem) + 0em;
@return math.div($number, 1rem) + 0em;
}

View File

@@ -69,7 +69,7 @@ $resizerLineSize: 4px;
}
&.horizontal {
margin: -($resize-thickness / 2) 0;
margin: -($resize-thickness * 0.5) 0;
height: $resize-thickness;
width: 100%;
cursor: row-resize;
@@ -83,7 +83,7 @@ $resizerLineSize: 4px;
}
&.vertical {
margin: 0 -($resize-thickness / 2);
margin: 0 -($resize-thickness * 0.5);
width: $resize-thickness;
height: 100%;
cursor: col-resize;