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

WordPress Trac noreply at wordpress.org
Wed Apr 7 23:24:20 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
-----------------------------------+------------------------------

Comment (by mwarbinek):

 Replying to [comment:2 sabernhardt]:
 > 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 extra
 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;
 > }
 > }}}

 Thanks, will try it.

 Reminder, this Temp fix is in an external Custom CSS APP for the browser,
 it was not applied to any of the WordPress core files.

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


More information about the wp-trac mailing list