-
Notifications
You must be signed in to change notification settings - Fork 4k
Fix language selector alignment #3306
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
Fix language selector alignment #3306
Conversation
* Adjust language icon and caret in menu-bar * remove unused style from `language-selector.css`
|
Tests are going to fail due to #3305 I'll rebase and push once that PR lands to get the travis build to work. |
benjiwheeler
left a comment
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.
Looks good, but the width and effective right-padding seems out of whack
|
I'm concerned that we already lose most of the title in some languages on smaller screens - it doesn't seem worth adding more width to the language icon - it already has a lot of space around it. How about reducing the padding instead (using .5rem instead of .75rem): @carljbowman what do you think? reduce the padding, reduce the icon size, or increase the width? |
|
@benjiwheeler I've updated the css for the language-selector. I spoke with @carljbowman and he thought reducing the padding for the language selector was fine. |
|
BTW, you can try it here: https://chrisgarrity.github.io/scratch-gui/issue/2658-lang-select/ |
|
@benjiwheeler that still doesn't look quite right - I wonder if the stylesheet is getting cached? |








Resolves
Proposed Changes
language-selector.cssReason for Changes
Align language icon with Scratch logo and tutorials icon
Test Coverage
Current tests run
Browser Coverage
Check the OS/browser combinations tested (At least 2)
Mac
Windows
Chromebook
iPad
Android Tablet