aboutsummaryrefslogtreecommitdiff
path: root/app/src/web/scss/core
diff options
context:
space:
mode:
authorAllan Wang <me@allanwang.ca>2021-09-12 20:29:31 -0700
committerAllan Wang <me@allanwang.ca>2021-09-12 20:29:31 -0700
commitb75dc687ca2e338d5d25e97c74719643100284a2 (patch)
treecfa0474c23c7d1c399ca201c171500b900f409df /app/src/web/scss/core
parentc77455ca08695a3d3470452d69bdead5dc961f4b (diff)
downloadfrost-b75dc687ca2e338d5d25e97c74719643100284a2.tar.gz
frost-b75dc687ca2e338d5d25e97c74719643100284a2.tar.bz2
frost-b75dc687ca2e338d5d25e97c74719643100284a2.zip
Update theme
Diffstat (limited to 'app/src/web/scss/core')
-rw-r--r--app/src/web/scss/core/_base.scss4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/src/web/scss/core/_base.scss b/app/src/web/scss/core/_base.scss
index f6b5c903..8f233119 100644
--- a/app/src/web/scss/core/_base.scss
+++ b/app/src/web/scss/core/_base.scss
@@ -1,3 +1,5 @@
+@use 'sass:math';
+
@mixin placeholder {
::placeholder {
@content;
@@ -80,7 +82,7 @@
$encoded: "";
$slice: 2000;
$index: 0;
- $loops: ceil(str-length($svg) / $slice);
+ $loops: ceil(math.div(str-length($svg), $slice));
@for $i from 1 through $loops {
$chunk: str-slice($svg, $index, $index + $slice - 1);