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;
|
padding: 0;
|
||||||
margin: 0 0 0 7px;
|
margin: 0 0 0 7px;
|
||||||
clear: none;
|
clear: none;
|
||||||
display: inline;
|
display: inline;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
input:not([type="checkbox"]):not([type="radio"]) + .description {
|
||||||
|
display: block;
|
||||||
|
clear: both;
|
||||||
|
margin-left: 0;
|
||||||
|
}
|
||||||
|
|
||||||
.description-block {
|
.description-block {
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
display: block;
|
display: block;
|
||||||
|
@ -6706,7 +6714,7 @@ table.bar_chart {
|
||||||
}
|
}
|
||||||
|
|
||||||
.woocommerce_options_panel {
|
.woocommerce_options_panel {
|
||||||
:not(input) + .description {
|
.description {
|
||||||
display: block;
|
display: block;
|
||||||
clear: both;
|
clear: both;
|
||||||
margin-left: 0;
|
margin-left: 0;
|
||||||
|
|
Loading…
Reference in New Issue