Featured items: ensure valid DOM nesting in inspector controls (https://github.com/woocommerce/woocommerce-blocks/pull/6501)
This commit is contained in:
parent
70a1af8288
commit
f38e0819ad
|
@ -155,18 +155,23 @@ export const InspectorControls = ( {
|
|||
<ToggleGroupControl
|
||||
help={
|
||||
<>
|
||||
<p>
|
||||
<span
|
||||
style={ {
|
||||
display: 'block',
|
||||
marginBottom: '1em',
|
||||
} }
|
||||
>
|
||||
{ __(
|
||||
'Choose “Cover” if you want the image to scale automatically to always fit its container.',
|
||||
'woo-gutenberg-products-block'
|
||||
) }
|
||||
</p>
|
||||
<p>
|
||||
</span>
|
||||
<span>
|
||||
{ __(
|
||||
'Note: by choosing “Cover” you will lose the ability to freely move the focal point precisely.',
|
||||
'woo-gutenberg-products-block'
|
||||
) }
|
||||
</p>
|
||||
</span>
|
||||
</>
|
||||
}
|
||||
label={ __(
|
||||
|
|
Loading…
Reference in New Issue