[wp-trac] [WordPress Trac] #57931: Add Border Radius to WP Dashboard Post Boxes

WordPress Trac noreply at wordpress.org
Sat Mar 18 19:47:09 UTC 2023


#57931: Add Border Radius to WP Dashboard Post Boxes
-------------------------------------------------+-------------------------
 Reporter:  generosus                            |       Owner:  (none)
     Type:  enhancement                          |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Administration                       |     Version:
 Severity:  normal                               |  Resolution:
 Keywords:  needs-design-feedback 2nd-opinion    |     Focuses:  ui, css
  has-patch                                      |
-------------------------------------------------+-------------------------

Comment (by generosus):

 **Update:**

 The CSS Rules provided below take care of the small line extension that
 appears when the post boxes are collapsed. They should also be added to
 the affected patch(es) (with or without **!important**-- whatever works).


 {{{
 .postbox.closed {
     border: 1px solid #c3c4c7!important;
     box-shadow: 0 1px 1px rgba(0,0,0,.04)!important;
 }

 .postbox.closed .postbox-header {
     border-bottom: 0px!important;
 }
 }}}


 Before Above CSS Rules Applied: https://prnt.sc/WwmNVWGOnSAV
 After Above CSS Rules Applied: https://prnt.sc/c8vYltqi1o8A

 **Special Notes:**

 1. It would be nice to come up with a CSS Rule that will add a border
 radius to the bottom-right corner of the Screen Options screen-meta box as
 noted here: https://prnt.sc/f_mF8BegYd5Q

 2. It would be nice to check all others WordPress admin sections (e.g.,
 plugins) to see if any boxes would look better with a border radius.

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


More information about the wp-trac mailing list