diff options
author | Allan Wang <me@allanwang.ca> | 2021-09-12 20:29:31 -0700 |
---|---|---|
committer | Allan Wang <me@allanwang.ca> | 2021-09-12 20:29:31 -0700 |
commit | b75dc687ca2e338d5d25e97c74719643100284a2 (patch) | |
tree | cfa0474c23c7d1c399ca201c171500b900f409df /app/src/web/scss/core | |
parent | c77455ca08695a3d3470452d69bdead5dc961f4b (diff) | |
download | frost-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.scss | 4 |
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); |