Skip to content

Commit 193c4b7

Browse files
authored
Fix: Sass Slash as Division Maronato#243 (Maronato#264)
1 parent 405499b commit 193c4b7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/scss/_toastContainer.scss

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
@use 'sass:math';
12
.#{$vt-namespace}__container {
23
z-index: $vt-z-index;
34
position: fixed;
@@ -51,7 +52,7 @@
5152
&.top-center,
5253
&.bottom-center {
5354
left: 50%;
54-
margin-left: -($vt-toast-max-width / 2);
55+
margin-left: -(math.div($vt-toast-max-width, 2));
5556
.#{$vt-namespace}__toast {
5657
margin-left: auto;
5758
margin-right: auto;

0 commit comments

Comments
 (0)