From feda21ae8c6754b8c752aa3f03ddf7d2c61ce3a2 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 13 Feb 2025 11:31:16 -0500 Subject: [PATCH 1/2] Jetpack button: prevent buttom from stretching vertically --- projects/plugins/jetpack/extensions/blocks/button/view.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/projects/plugins/jetpack/extensions/blocks/button/view.scss b/projects/plugins/jetpack/extensions/blocks/button/view.scss index 41394986df71..e3bce484b968 100644 --- a/projects/plugins/jetpack/extensions/blocks/button/view.scss +++ b/projects/plugins/jetpack/extensions/blocks/button/view.scss @@ -8,6 +8,7 @@ @include align-block; max-width: 100%; width: fit-content; + height: fit-content; // Since .wp-block-button__link has a 100% height, this prevents the button from matching its container's height. margin: 0; &.is-style-outline > .wp-block-button__link { From f15827eeb33a41b7b726fdb4fabb46c93414e793 Mon Sep 17 00:00:00 2001 From: Kevin Zoschke Date: Thu, 13 Feb 2025 11:32:18 -0500 Subject: [PATCH 2/2] changelog --- projects/plugins/jetpack/changelog/fix-jetpack-button-height | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 projects/plugins/jetpack/changelog/fix-jetpack-button-height diff --git a/projects/plugins/jetpack/changelog/fix-jetpack-button-height b/projects/plugins/jetpack/changelog/fix-jetpack-button-height new file mode 100644 index 000000000000..87c37234f171 --- /dev/null +++ b/projects/plugins/jetpack/changelog/fix-jetpack-button-height @@ -0,0 +1,4 @@ +Significance: patch +Type: other + +Jetpack button: prevent vertical stretch