[wp-trac] [WordPress Trac] #52148: CSS Optimization: Use shorthand 'border' value in wp-admin/css/admin-menu.css

WordPress Trac noreply at wordpress.org
Tue Feb 2 20:20:47 UTC 2021


#52148: CSS Optimization: Use shorthand 'border' value in wp-admin/css/admin-
menu.css
------------------------------+----------------------------------------
 Reporter:  ankitmaru         |       Owner:  SergeyBiryukov
     Type:  enhancement       |      Status:  reviewing
 Priority:  normal            |   Milestone:  5.7
Component:  Administration    |     Version:  trunk
 Severity:  normal            |  Resolution:
 Keywords:  has-patch commit  |     Focuses:  ui, css, coding-standards
------------------------------+----------------------------------------

Comment (by SergeyBiryukov):

 Thanks for the patches! This looks good to me, but I would skip the
 changes in `wp-admin/css/common.css`.

 That "trick" looks more readable to me as is, and since we're not
 combining `margin` properties there, I don't see a point in combining
 `padding`.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/52148#comment:26>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list