-
Notifications
You must be signed in to change notification settings - Fork 27
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
Change font size #446
Change font size #446
Conversation
Codecov Report
@@ Coverage Diff @@
## master #446 +/- ##
==========================================
+ Coverage 46.64% 47.71% +1.07%
==========================================
Files 37 38 +1
Lines 879 897 +18
Branches 64 64
==========================================
+ Hits 410 428 +18
Misses 456 456
Partials 13 13
Continue to review full report at Codecov.
|
2f174aa
to
ce54b0c
Compare
getItem () { return '{}' }, | ||
setItem () {} | ||
} | ||
} |
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.
No LocalStorage
with JSDOM, interesting too.
Cypress was skipping the newly added tests. In After searching GitHub and StackOverflow, found some people mentioning things like turning off optimization. Tried it, and that fixed the issue. Now tests being executed. Ran the whole e2e tests locally, everything worked fine. The issue was similar to this one: cypress-io/cypress#6159 |
Ah, good idea! I was thinking how to tackle that dangling piece of text that wouldn't resize. First I wrapped it in a paragraph. But then the font-size applied was the But then I remembered Vuetify also provides classes for each font-size available, and it's documented in their typography section; and Pushed one more commit that wraps every piece of text that is not already in a Thanks for the testing and good suggestion! |
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.
Nice!
Some elements of the UI break down with large font-sizes but that is to be expected.
Might want to squash some commits before merging to keep our commit history a bit more readable.
Rebased, and moved + squashed some commits together. |
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.
Tested as working - nice!
@kinow - I'll leave it to you to deconflict and merge. |
Thank you Hilary! |
Rebased on |
These changes close #141
There is a TODO about #335, but for now it's storing the new font size in the
LocalStorage
(i.e. client-side only).Under the user profile view, now there is a "Preferences" section, with the Font Size.
<html>
element, and computing the sizes of other elements relative to that value (rem).<html>
elementLocalStorage
LocalStorage
<html>
element font size back to what is inLocalStorage
. If there is nothing inLocalStorage
, then it does nothing and the sass variable value is applied as beforeRequirements check-list
CONTRIBUTING.md
and added my name as a Code Contributor.Will add changelog and tests (unit + e2e) later.