Fix product data field description styling, including checkboxes and radio buttons (#38066)
* Set .description to block for everything except for those for checkboxes and radio buttons * Changelog
This commit is contained in:
parent
9bbe72d431
commit
865fcd053c
|
@ -1,4 +0,0 @@
|
|||
Significance: patch
|
||||
Type: fix
|
||||
|
||||
Fix styling of checkbox (and other input) labels on product page tabs.
|
|
@ -0,0 +1,4 @@
|
|||
Significance: patch
|
||||
Type: tweak
|
||||
|
||||
Fix styling of product data field descriptions, including checkboxes and radio buttons.
|
|
@ -5348,13 +5348,21 @@ img.help_tip {
|
|||
}
|
||||
}
|
||||
|
||||
.description {
|
||||
.description,
|
||||
input[type="checkbox"] + .description,
|
||||
input[type="radio"] + .description {
|
||||
padding: 0;
|
||||
margin: 0 0 0 7px;
|
||||
clear: none;
|
||||
display: inline;
|
||||
}
|
||||
|
||||
input:not([type="checkbox"]):not([type="radio"]) + .description {
|
||||
display: block;
|
||||
clear: both;
|
||||
margin-left: 0;
|
||||
}
|
||||
|
||||
.description-block {
|
||||
margin-left: 0;
|
||||
display: block;
|
||||
|
@ -6706,7 +6714,7 @@ table.bar_chart {
|
|||
}
|
||||
|
||||
.woocommerce_options_panel {
|
||||
:not(input) + .description {
|
||||
.description {
|
||||
display: block;
|
||||
clear: both;
|
||||
margin-left: 0;
|
||||
|
|
Loading…
Reference in New Issue