-
Notifications
You must be signed in to change notification settings - Fork 639
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
UI: slightly make the font size combo larger #9029
UI: slightly make the font size combo larger #9029
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.
Thanks , nevertheless I see an interesting behaviour that makes me think that maybe there is a better way to handle this.
Currently font-size is actually affecting width even with this change. Example with 6.1 em width the component still gets cropped if I reduce the font-size to 10px. Wouldn't it be better to calculate the width based on the parent's font-size instead? Meaning, to use 5rem
?
7494eab
to
118eb53
Compare
Thank you for refreshing my CSS skills. I have tried different font size and 4.6 rem is enough for '88.5 pt' and scales with browser font-size nicely enough. |
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.
thanks !
So even '88.5 pt' fits in without getting cut. Signed-off-by: Méven Car <[email protected]> Change-Id: I950b99b2bed7b1e038e1847586b517807f3aa9b0
118eb53
to
d259bfa
Compare
Encountered
It has been fixed and merged so, I have rebase this branch and force push it |
REtried since these are unrelated: 41 matches for "failed" in buffer: scratch |
So even '88 pt' fit in without getting cut.
Change-Id: I950b99b2bed7b1e038e1847586b517807f3aa9b0
Summary
After:
Before:
Follow-up of #8979