Add fallback for --percent in asset-size

This commit is contained in:
Cassie Tarakajian 2020-07-13 14:03:59 -04:00
parent c13d5f4d7c
commit 982b7022e9

View file

@ -28,7 +28,7 @@
top: 0; top: 0;
left: 0; left: 0;
bottom: 0; bottom: 0;
width: calc(var(--percent) * 100%); width: calc(var(--percent, 1) * 100%);
@include themify() { @include themify() {
background-color: getThemifyVariable('progress-bar-active-color'); background-color: getThemifyVariable('progress-bar-active-color');