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
{{ message }}
This repository has been archived by the owner on May 5, 2022. It is now read-only.
E.g. url("foo bar"); becomes url(foo bar); which in turn results in broken CSS.
I first faced this problem when using custom fonts with the Valo Theme (using the Bourbon font-face mixin) and used a space in the font-family name. This causes the font-face to not load at all (at least in Chrome and Firefox, IE blissfully ignores the rules) because the SVG-format font has a # on its URL.
Suggestions:
add/keep quotes if the URL contains spaces
replace spaces with %20 (it's one byte more than two quotes so not a good option really)
document this "feature" in Vaadin docs
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
E.g.
url("foo bar");
becomesurl(foo bar);
which in turn results in broken CSS.I first faced this problem when using custom fonts with the Valo Theme (using the Bourbon font-face mixin) and used a space in the font-family name. This causes the font-face to not load at all (at least in Chrome and Firefox, IE blissfully ignores the rules) because the SVG-format font has a # on its URL.
Suggestions:
The text was updated successfully, but these errors were encountered: