[wp-trac] [WordPress Trac] #52426: Columns Width-CSS Problem in Post and Page List Table

WordPress Trac noreply at wordpress.org
Wed Apr 7 16:56:33 UTC 2021


#52426: Columns Width-CSS Problem in Post and Page List Table
-----------------------------------+------------------------------
 Reporter:  lospeso                |       Owner:  (none)
     Type:  defect (bug)           |      Status:  new
 Priority:  normal                 |   Milestone:  Awaiting Review
Component:  Administration         |     Version:  5.6
 Severity:  normal                 |  Resolution:
 Keywords:  needs-design-feedback  |     Focuses:  css
-----------------------------------+------------------------------
Changes (by sabernhardt):

 * keywords:   => needs-design-feedback
 * focuses:   => css


Comment:

 I don't think we should simply remove all those width values from
 [https://core.trac.wordpress.org/browser/tags/5.7/src/wp-admin/css/list-
 tables.css#L297 list-tables.css], as they can benefit the layout with only
 the default columns. Of course, it very quickly becomes a problem with
 additional columns, so something would need to change with the additional
 columns.

 @lospeso, if you would like to edit your **temporary** fix to eliminate
 `!important`, you could use this instead:
 {{{
 .wrap .fixed .column-author, .wrap .fixed .column-format, .wrap .fixed
 .column-links, .wrap .fixed .column-parent, .wrap .fixed .column-posts,
 .wrap .fixed .column-categories, .wrap .fixed .column-rel, .wrap .fixed
 .column-response, .wrap .fixed .column-role, .wrap .fixed .column-tags,
 .wrap .fixed .column-date {
         width: auto;
 }
 }}}

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


More information about the wp-trac mailing list