From df6d6fbf39265dd90652f7c20ef7f22b7ad687ee Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Thu, 24 Oct 2024 12:13:48 +1300 Subject: [PATCH] :lipstick: Move comment --- mu-plugins/blocks/notice/postcss/style.pcss | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/mu-plugins/blocks/notice/postcss/style.pcss b/mu-plugins/blocks/notice/postcss/style.pcss index 773d0c29..eb12c21e 100644 --- a/mu-plugins/blocks/notice/postcss/style.pcss +++ b/mu-plugins/blocks/notice/postcss/style.pcss @@ -37,13 +37,12 @@ margin-block-start: 0; } + & :last-child, + &:has(:last-child:empty) :nth-last-child(2), /* o2 adds a data script tag to the notice content on some Make blogs. * In this case we need to remove bottom margin from the second to last element instead. */ - - & :last-child, - &:has(.o2-data) :nth-last-child(2), - &:has(:last-child:empty) :nth-last-child(2) { + &:has(.o2-data) :nth-last-child(2) { margin-block-end: 0; }