From e13febddacd1f878fa0bad330572801a4ad67e12 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Albert=20Juh=C3=A9=20Lluveras?= Date: Tue, 27 Aug 2024 17:25:01 +0200 Subject: [PATCH] CYS: Fix bottom margin of last patterns (#50991) * CYS: Fix bottom margin of last patterns * Add changelog file --- .../assembler-hub/sidebar/pattern-screen/style.scss | 2 +- plugins/woocommerce/changelog/fix-cys-patterns-margin | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 plugins/woocommerce/changelog/fix-cys-patterns-margin diff --git a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/pattern-screen/style.scss b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/pattern-screen/style.scss index eb35a88ebfd..a3dfbffe7be 100644 --- a/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/pattern-screen/style.scss +++ b/plugins/woocommerce-admin/client/customize-store/assembler-hub/sidebar/pattern-screen/style.scss @@ -75,7 +75,7 @@ } } - div.block-editor-block-patterns-list > div:nth-last-child(2) { + div.block-editor-block-patterns-list > div:nth-last-child(1 of .block-editor-block-patterns-list__list-item) { margin-bottom: 0; } } diff --git a/plugins/woocommerce/changelog/fix-cys-patterns-margin b/plugins/woocommerce/changelog/fix-cys-patterns-margin new file mode 100644 index 00000000000..cfee558dcc2 --- /dev/null +++ b/plugins/woocommerce/changelog/fix-cys-patterns-margin @@ -0,0 +1,4 @@ +Significance: patch +Type: fix + +Fix bottom margin of last patterns