#32733 closed defect (bug) (fixed)
Customizer screen options toggle icon isn't aligned and scaled with the info/question mark icon
Reported by: | paulwilde | Owned by: | obenland |
---|---|---|---|
Milestone: | 4.3 | Priority: | low |
Severity: | normal | Version: | 4.3 |
Component: | Customize | Keywords: | needs-patch |
Focuses: | ui | Cc: |
Description
The screen options toggle icon isn't aligned or scaled to look like it was designed to go alongside the question mark icon and as a result it looks a little out of place.
For reference its current state is the top option in my attachment.
I see there being a few ways of going about this:
- Vertically center the icon (See the second option in my attachment).
- Vertically center the icon and reduce its size to be the same dimensions as the question mark icon (See the third option in my attachment).
- Create an alternative smaller gear/advanced icon that's designed specifically to go alongside the question mark icon with the same dimensions.
Attachments (7)
Change History (29)
#4
follow-up:
↓ 5
@
9 years ago
- Keywords needs-patch added
- Type changed from enhancement to defect (bug)
We can't change the size of the icon with font-size here safely, since it's designed to the 20px grid (until it's reworked to use SVG instead). So I think the only viable option here is to change the icon in dashicons, or just live with the slight size difference and slightly tweak the vertical positioning. It's only off by maybe a pixel or two.
#5
in reply to:
↑ 4
@
9 years ago
Replying to celloexpressions:
We can't change the size of the icon with font-size here safely, since it's designed to the 20px grid
Agreed, as you can see in the screenshot I've set the icomoon app with a 20px grid. The best option would probably be re-factoring the existing icon or creating an alternative icon.
#7
@
9 years ago
- Summary changed from Customiser screen options toggle icon isn't aligned and scaled with the info/question mark icon to Customizer screen options toggle icon isn't aligned and scaled with the info/question mark icon
I vote we get the info icon reworked slightly so it's the same size as the other solid round icons.
#8
@
9 years ago
I would just use css for now. Going forward, any recommendations for icon sizing/positioning should show icons in context; i.e., how they are seen in the wp-admin. [edit] i now see the context in @paulwilde fileedit Dashicons are sized explicitly for their context, and when lined up next to eachother may look misaligned or poorly scaled. The ? mark was likely designed for a context where it had to be that small, but I'm not sure. If we make it bigger, we should make sure it doesn't look too big in other places.
#11
follow-up:
↓ 12
@
9 years ago
I prefer the unobtrusiveness of scaling the gear icon down (for now) - these are things that are accessed maybe once or twice as you're getting going. How small does that make the tap target?
#12
in reply to:
↑ 11
@
9 years ago
Replying to helen:
How small does that make the tap target?
Speaking of tap target, they are currently overlapping, see 32733-focus-overlap.png.
#13
@
9 years ago
The overlapping tap target was intentional - we would've needed to add much more spacing between the icons to maintain that wide of a target while keeping it center so the focus styling looked okay. But it could certainly be improved.
Is someone interested in making a patch to address some of the issues mentioned here? I don't personally see a huge issue with how the sizing/alignment looks in @ocean90's screenshot, but it could probably be improved slightly.
This ticket was mentioned in Slack in #design by helen. View the logs.
9 years ago
#15
@
9 years ago
I agree with @valentedesigns - it makes the most sense to make the info icon the same size as the other round shapes in the icon set.
#17
@
9 years ago
- Owner set to obenland
- Resolution set to fixed
- Status changed from new to closed
In 33336:
#18
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
The vertical alignment still seems off for me after that commit, though in those screenshots they seem fine. I cannot imagine this having anything to do with the fact that I'm on a HiDPI display.
Changing .customize-screen-options-toggle
from top: 4px
to top: 2px
fixes it for me.
#20
@
9 years ago
- Resolution fixed deleted
- Status changed from closed to reopened
Not sure why, maybe different operating systems font rendering, but on Windows the Screen Options toggle icon looks a bit too small, see on the left. Increasing the font size to 18px and adjusting the position makes things a bit better. Sorry can't test on a Mac.
Probably not a big deal, reopening just to let you know, close at your will.
I'm unable to edit my ticket's description, but a 4th option would be to scale up the question mark icon and leave the gear icon as is.