We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 405499b commit 193c4b7Copy full SHA for 193c4b7
src/scss/_toastContainer.scss
@@ -1,3 +1,4 @@
1
+@use 'sass:math';
2
.#{$vt-namespace}__container {
3
z-index: $vt-z-index;
4
position: fixed;
@@ -51,7 +52,7 @@
51
52
&.top-center,
53
&.bottom-center {
54
left: 50%;
- margin-left: -($vt-toast-max-width / 2);
55
+ margin-left: -(math.div($vt-toast-max-width, 2));
56
.#{$vt-namespace}__toast {
57
margin-left: auto;
58
margin-right: auto;
0 commit comments