-
Notifications
You must be signed in to change notification settings - Fork 789
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
do not load fonts for the UI from the internet #96
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
bannerDiv.innerHTML = ` | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"> | ||
<link href="outline://web_app/bower_components/font-roboto/roboto.html" rel="stylesheet"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Now that an html include is being used instead of a CSS stylesheet, I think this should be rel="import"
and not rel="stylesheet"
? Maybe the webview does the right thing anyway, but still seems worth changing?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good catch. Changed to import
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the change to import
didn't make it through?
e0be684
to
b527dd0
Compare
@alalamav PTAL, I tested (better) and replaced the logo with an SVG supplied by UX. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
bannerDiv.innerHTML = ` | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:300,400,500" rel="stylesheet"> | ||
<link href="outline://web_app/bower_components/font-roboto/roboto.html" rel="stylesheet"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like the change to import
didn't make it through?
@alalamav Apologies, all changes now pushed. |
Addresses:
#67 (comment)
From eyeballing it on my macOS laptop, the app looks identical before and after this change.