You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
And on top of that if the libsass output style is set to compressed it causes source maps to be inaccurate. The other output styles are fine though. I submitted an issue over there - sass/libsass#2319
Proposition
Because this whole variable interpolation stuff is pretty unreliable and inconsistent across recent versions of libsass, I propose to just hardcode the value. So...
content: "/\00a0";
That way it will work for people using slightly older versions of libsass and also for people using the recent version(s). And though we won't have a simple variable to change/override, it's super easy to override the old fashion way. For example
.breadcrumb>li+li:before {
content: "\003e\00a0"; // for a ">" instead of a "/"
}
I'd much rather have minified css and source maps than a variable for breadcrumbs. I know, as a work around, I could use a separate css minifier, but they add nearly one second to compile time. Libsass is fast and hard to beat and I really like to keep things simple and fast whenever possible.
Thoughts on this?
The text was updated successfully, but these errors were encountered:
For reference - #919
I think the above issue has to be reopened. Sorry if I should be posting there, kinda new to github and its issue/bug tracking.
So from what I can tell, there used to be an issue with how libsass compiled the following:
So it got changed to:
But now that leads to it getting compiled to:
And on top of that if the libsass output style is set to
compressed
it causes source maps to be inaccurate. The other output styles are fine though. I submitted an issue over there - sass/libsass#2319Proposition
Because this whole variable interpolation stuff is pretty unreliable and inconsistent across recent versions of libsass, I propose to just hardcode the value. So...
That way it will work for people using slightly older versions of libsass and also for people using the recent version(s). And though we won't have a simple variable to change/override, it's super easy to override the old fashion way. For example
I'd much rather have minified css and source maps than a variable for breadcrumbs. I know, as a work around, I could use a separate css minifier, but they add nearly one second to compile time. Libsass is fast and hard to beat and I really like to keep things simple and fast whenever possible.
Thoughts on this?
The text was updated successfully, but these errors were encountered: