[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 Dec 22 09:36:53 UTC 2020


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

Comment (by audrasjb):

 Hi, thanks for the ticket and patch,

 I think it would be nice to quickly check other occurence of this.
 For example, in wp-admin/css/common.css:

 {{{
 .contextual-help-tabs li {
         margin-bottom: 0;
         list-style-type: none;
         border-style: solid;
         border-width: 0 0 0 2px;
         border-color: transparent;
 }

 .contextual-help-tabs a {
         display: block;
         padding: 5px 5px 5px 12px;
         line-height: 1.4;
         text-decoration: none;
         border: 1px solid transparent;
         border-right: none;
         border-left: none;
 }
 }}}

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


More information about the wp-trac mailing list