From 340534c5d2775d56572736fbc1f7795a9407bce7 Mon Sep 17 00:00:00 2001 From: Enej Bajgoric Date: Thu, 16 Jan 2025 14:02:26 -0800 Subject: [PATCH] Update the select field as well to use the new size. So that it looks aligned. --- .../src/blocks/contact-form/components/jetpack-field-consent.js | 1 + .../blocks/contact-form/components/jetpack-field-datepicker.js | 1 + projects/packages/forms/src/blocks/contact-form/edit.js | 1 + 3 files changed, 3 insertions(+) diff --git a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-consent.js b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-consent.js index 3e5e11229bc7e..06cadae1c2c12 100644 --- a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-consent.js +++ b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-consent.js @@ -79,6 +79,7 @@ const JetpackFieldConsent = ( { ] } onChange={ value => setAttributes( { consentType: value } ) } __nextHasNoMarginBottom={ true } + __next40pxDefaultSize={ true } /> diff --git a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-datepicker.js b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-datepicker.js index 47188aa488e71..ce84377e71240 100644 --- a/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-datepicker.js +++ b/projects/packages/forms/src/blocks/contact-form/components/jetpack-field-datepicker.js @@ -98,6 +98,7 @@ const JetpackDatePicker = props => { 'jetpack-forms' ) } __nextHasNoMarginBottom={ true } + __next40pxDefaultSize={ true } /> ), }, diff --git a/projects/packages/forms/src/blocks/contact-form/edit.js b/projects/packages/forms/src/blocks/contact-form/edit.js index e49f36bf2b4e5..fff949c91a860 100644 --- a/projects/packages/forms/src/blocks/contact-form/edit.js +++ b/projects/packages/forms/src/blocks/contact-form/edit.js @@ -175,6 +175,7 @@ export const JetpackContactFormEdit = forwardRef( ] } onChange={ newMessage => setAttributes( { customThankyou: newMessage } ) } __nextHasNoMarginBottom={ true } + __next40pxDefaultSize={ true } /> { 'redirect' !== customThankyou && (