[wp-trac] [WordPress Trac] #55913: CSS possible undorseeable bug in Custom Fields table

WordPress Trac noreply at wordpress.org
Fri Jun 3 20:11:09 UTC 2022

#55913: CSS possible undorseeable bug in Custom Fields table
 Reporter:  princeofabyss  |      Owner:  (none)
     Type:  enhancement    |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Editor         |    Version:  6.0
 Severity:  normal         |   Keywords:
  Focuses:  css            |
 In [https://wordpress.org/support/article/custom-fields/ Custom Fields]
 feature, there is an unforeseeable problem in a specific CSS rule defined
 for ''div#postcustomstuff''.

 More specifically there is this defined in wp-admin/css/edit.css:

 #postcustomstuff table input, #postcustomstuff table select,
 #postcustomstuff table textarea {
   width: 96%;
   margin: 8px;

 While this works well in the situation the rule was written for, it hides
 a problem when attempted to reuse the code for other cases, where a
 checkbox or checkbox or radio button is used, as it stretches them out.


 You might want to consider excluding those two from the CSS rule...

 #postcustomstuff table input:not([type=checkbox]):not([type=radio]),

Ticket URL: <https://core.trac.wordpress.org/ticket/55913>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list