Skip to content

Commit

Permalink
💄 Move comment
Browse files Browse the repository at this point in the history
  • Loading branch information
adamwoodnz committed Oct 23, 2024
1 parent 8e48c67 commit df6d6fb
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions mu-plugins/blocks/notice/postcss/style.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit df6d6fb

Please sign in to comment.