[wp-trac] [WordPress Trac] #42744: Need to Modify Radio & Checkbox Label Class
WordPress Trac
noreply at wordpress.org
Wed Dec 6 05:23:56 UTC 2017
#42744: Need to Modify Radio & Checkbox Label Class
-------------------------------+------------------------------
Reporter: santai89 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Customize | Version: 4.9
Severity: normal | Resolution:
Keywords: reporter-feedback | Focuses:
-------------------------------+------------------------------
Changes (by westonruter):
* keywords: reporter-feedback has-patch => reporter-feedback
Comment:
@santai89 please also share the code that is responsible for extending the
control.
The structure of radio/checkboxes was updated to make the `label` a
sibling of the checkbox instead of the radio/checkbox's parent element.
See r41740 for #33085. There is now a `.customize-inside-control-row`
element that wraps each label and radio/checkbox. If you add the same to
your subclass, you'll get the proper styles.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/42744#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list