[wp-trac] [WordPress Trac] #41317: Consistent submenu item spacing when count indicator is present
WordPress Trac
noreply at wordpress.org
Fri Jul 14 10:08:33 UTC 2017
#41317: Consistent submenu item spacing when count indicator is present
-------------------------------------------------+-------------------------
Reporter: pauldechov | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future
Component: Administration | Release
Severity: normal | Version:
Keywords: needs-patch good-first-bug has- | Resolution:
screenshots | Focuses: ui
-------------------------------------------------+-------------------------
Changes (by afercia):
* keywords: needs-patch good-first-bug => needs-patch good-first-bug has-
screenshots
* version: 4.8 =>
Comment:
Yep, this is clearly visible also in the "Updates" menu sub-item. However,
since the introduction of system-fonts, the actual rendering is different
across platforms because the font metrics are different... also different
rendering engines matter.
In the screenshot below, the counters how they appear on Windows 10,
Chrome, IE11, and Edge:
[[Image(https://cldup.com/DfdtN7xTya.png)]]
Since the font is different, the sub-item count ("Updates") is better
aligned, while the counts in the top-level items are slightly moved to the
top. Any change here should take into account different platforms and
browsers. Also, notice how the counters are not perfect circles, depending
on the actual number and how much space the number takes.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/41317#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list