[wp-trac] [WordPress Trac] #38023: Menus screen: simplify the Menu Settings controls
WordPress Trac
noreply at wordpress.org
Tue Oct 25 17:12:50 UTC 2016
#38023: Menus screen: simplify the Menu Settings controls
---------------------------------------+--------------------------------
Reporter: afercia | Owner: rianrietveld
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.7
Component: Menus | Version:
Severity: normal | Resolution:
Keywords: has-screenshots has-patch | Focuses: ui, accessibility
---------------------------------------+--------------------------------
Comment (by afercia):
Refreshed patch to take care of the responsive view. Also, I'd rather
reduce specificity than having perfectly reusable classes. I dream of a
day when reducing CSS selectors specificity will be a required task for
any CSS change. 🙂 Also, keeps classes separated based on their intended
usage and adds a comment to clarify the math used for the negative margin
calculation. I'm fine with the usage of `:last-of-type`, the worst that
can happen is a slightly different bottom margin.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38023#comment:17>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list