Fix old api call

This commit is contained in:
TakeV 2024-01-22 01:18:50 -05:00
parent 4a5c712d2f
commit 7c5728d0cc
Signed by: TakeV
GPG Key ID: A64F41345C7400AF
1 changed files with 7 additions and 7 deletions

View File

@ -283,7 +283,7 @@
$turf_margin: 20px;
$connector_height: math.div($turf_height, 10);
$connector_height: $turf_height / 10;
$connector_width: $turf_margin * 2;
width: $turf_width;
@ -309,8 +309,8 @@
&.right,
&.left {
width: $turf_margin * 2;
height: math.div($turf_height, 5);
top: math.div($turf_height, 2) - math.div($turf_height, 10);
height: $turf_height / 5;
top: ($turf_height / 2) - ($turf_height / 10);
}
&.left {
left: -$turf_margin * 2;
@ -322,8 +322,8 @@
&.top,
&.bottom {
height: $turf_margin * 2;
width: math.div($turf_height, 5);
left: math.div($turf_width, 2) - math.div($turf_height, 10);
width: ($turf_height / 5);
left: ($turf_width / 2) - ($turf_height / 10);
}
&.top {
top: -$turf_margin * 2;
@ -421,7 +421,7 @@
vertical-align: middle;
border: 2px solid $accent_color;
border-radius: math.div($diameter, 2);
border-radius: ($diameter / 2);
}
}
@ -440,4 +440,4 @@
}
}
}
}
}