GumbyFramework/Gumby

Incorrect fonts loading

Closed this issue · 1 comments

x88 commented

Because protocol isn't defined, this import not working locally (url has file// prefix ).
@import url(//fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);
Adding http: or https: solving this problem
@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,300,600,700);

Hey. We use protocol agnostic URLs to avoid problems between http/https. If you are working on a local server this shouldn't cause any issues, it will only cause problems if viewing the file directly via file://. I would rather Gumby worked seamlessly across http and https and not allow for working directly with files, which is rare anyway.

Thanks for creating the issue nonetheless!