Merge pull request #3144 from woocommerce/PCP-4222-items-with-and-without-modal-are-not-aligned-correctly

Settings UI: Tighten up the payment methods footer and modal styling (4222)
This commit is contained in:
Emili Castells 2025-02-25 11:38:50 +01:00 committed by GitHub
commit 326ac452be
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 16 additions and 18 deletions

View file

@ -100,14 +100,16 @@ const Modal = ( { method, setModalIsVisible, onSave } ) => {
case 'radio':
return (
<>
<strong className="ppcp-r-modal__content-title">
{ field.label }
</strong>
{ field.description && (
<p className="ppcp-r-modal__description">
{ field.description }
</p>
) }
<div className="ppcp-r-modal__field-row">
<strong className="ppcp-r-modal__content-title">
{ field.label }
</strong>
{ field.description && (
<span className="ppcp-r-modal__field-description">
{ field.description }
</span>
) }
</div>
<div className="ppcp-r-modal__field-row">
<RadioControl
selected={ settings[ key ] }