Skip to content
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

Polish controls, floats, switches and headings #1389

Merged
merged 4 commits into from
Jun 23, 2017

Conversation

jasmussen
Copy link
Contributor

@jasmussen jasmussen commented Jun 23, 2017

This PR addresses a couple of issues.

It fixes floats:

screen shot 2017-06-23 at 11 43 40

It fixes an issue with full wide:

screen shot 2017-06-23 at 11 44 20

It fixes a pixel jog that happened on On/Off switches due to "On" being a shorter word than "Off".

screen shot 2017-06-23 at 11 47 20

It also improves heading icons. I finally feel like they're in a good place:

screen shot 2017-06-23 at 11 42 07

@jasmussen jasmussen self-assigned this Jun 23, 2017
Copy link
Contributor

@youknowriad youknowriad left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I feel the subscript is a bit big, I'd prefer a font-size 1px smaller.

But this LGTM. I like the position of the menus on floated/wide blocks

@jasmussen
Copy link
Contributor Author

I waffled on the subscript size, but I feel like this is worth going with for a bit. We can always adjust it later if in a week or so we find it too big. I'm also excited about the prospect of #1383, reducing the cognitive load.

@jasmussen jasmussen merged commit 988f0f8 into master Jun 23, 2017
@jasmussen jasmussen deleted the polish/controls-floats-various branch June 23, 2017 10:01
@paulwilde
Copy link
Contributor

Just a FYI about the the On/Off toggle movement - The changes made will only apply to English, and not for the translated versions of those strings.

To be fair, I cannot think of a way in CSS where you can set the min-width to be the value of the longest string (Without using some hacky JS to calculate the highest value).

@jasmussen
Copy link
Contributor Author

Solid point.

Perhaps we can move the hint label to the left of the switch, when the switch is right aligned?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants