mirror of
https://github.com/cypress-io/cypress.git
synced 2026-02-23 07:39:52 -06:00
build: more fixes
This commit is contained in:
@@ -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;
|
||||
}
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user