Closed tewshi closed 5 years ago
I was getting an error about this:
JisonLexerError: Lexical error on line 1: Unrecognized text. Erroneous area: 1: 100% - $icon-size-xl - 1
I solved it locally by wrapping the variables in _icons.scss with #{}
:
@@ -28,7 +28,7 @@
}
+ .icon-text {
- width: calc(100% - $icon-size-xl - 1);
+ width: calc(100% - #{$icon-size-xl} - 1);
}
}
@@ -44,7 +44,7 @@
}
+ .icon-text {
- width: calc(100% - $icon-size-lg - 1);
+ width: calc(100% - #{$icon-size-lg} - 1);
}
}
@@ -60,6 +60,6 @@
}
+ .icon-text {
- width: calc(100% - $icon-size-sm - 1);
+ width: calc(100% - #{$icon-size-sm} - 1);
}
}
Same here. Any solution?
Thank you @adriaanzon, I managed to overcome the error by using your method!
Hi,
We fixed it in our last update.
Thank you, Rares
.icon-xl + .icon-text { width: calc(100% - $icon-size-xl - 1); } ... .icon-lg + .icon-text { width: calc(100% - $icon-size-lg - 1); } ... .icon-sm + .icon-text { width: calc(100% - $icon-size-sm - 1); }