From 7c9fd72c6d27535bfac283849c8a4b6864a948f3 Mon Sep 17 00:00:00 2001 From: Jeremy Herve Date: Thu, 18 Jul 2024 11:46:41 +0200 Subject: [PATCH] Form Block: fix display of the picker following changes in WP 6.6 Fixes #38405 --- .../packages/forms/changelog/fix-contact-form-block-picker | 4 ++++ projects/packages/forms/src/blocks/contact-form/editor.scss | 3 +++ 2 files changed, 7 insertions(+) create mode 100644 projects/packages/forms/changelog/fix-contact-form-block-picker diff --git a/projects/packages/forms/changelog/fix-contact-form-block-picker b/projects/packages/forms/changelog/fix-contact-form-block-picker new file mode 100644 index 0000000000000..b76de740e7e9b --- /dev/null +++ b/projects/packages/forms/changelog/fix-contact-form-block-picker @@ -0,0 +1,4 @@ +Significance: patch +Type: fixed + +Block Picker: fix display of the picker in the block editor following changes in WordPress 6.6. diff --git a/projects/packages/forms/src/blocks/contact-form/editor.scss b/projects/packages/forms/src/blocks/contact-form/editor.scss index 303db487ad3a6..55e98b23939b2 100644 --- a/projects/packages/forms/src/blocks/contact-form/editor.scss +++ b/projects/packages/forms/src/blocks/contact-form/editor.scss @@ -19,6 +19,8 @@ max-width: none; margin: 0; flex: 0; + text-align: center; + padding: 0 2px; } .block-editor-block-variation-picker__variation { @@ -175,6 +177,7 @@ .form-placeholder__external-link { font-size: 13px; padding: 0; + font-weight: 400; &, &:hover, &:active, &:focus { background-color: unset;