[wp-trac] [WordPress Trac] #55913: Custom Fields table can have extra-wide checkboxes and radio buttons (was: CSS possible undorseeable bug in Custom Fields table)
WordPress Trac
noreply at wordpress.org
Sat Jun 4 00:33:37 UTC 2022
#55913: Custom Fields table can have extra-wide checkboxes and radio buttons
---------------------------+------------------------------
Reporter: princeofabyss | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Editor | Version: 6.0
Severity: normal | Resolution:
Keywords: | Focuses: css
---------------------------+------------------------------
Comment (by sabernhardt):
With the more specific selector, that will also need to exclude the submit
button. r53168 excludes more button types, and this probably could use
something similar:
{{{
#postcustomstuff table
input:not([type="checkbox"]):not([type="radio"]):not([type="button"]):not([type="submit"]):not([type="reset"]),
#postcustomstuff table select,
#postcustomstuff table textarea {
width: 96%;
margin: 8px;
}
}}}
Wrapping the exceptions inside `:where()` might be worth considering as
well.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/55913#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list