diff --git a/entry_types/scrolled/package/src/contentElements/textBlock/TextBlock.module.css b/entry_types/scrolled/package/src/contentElements/textBlock/TextBlock.module.css index 44887fbd00..788288ef9e 100644 --- a/entry_types/scrolled/package/src/contentElements/textBlock/TextBlock.module.css +++ b/entry_types/scrolled/package/src/contentElements/textBlock/TextBlock.module.css @@ -16,7 +16,7 @@ margin: 1.375rem 0 0 0; } -.text > p:first-child { +.text p:first-child { margin-top: 0; } @@ -24,8 +24,8 @@ margin: var(--theme-text-block-first-list-item-margin-top, 1.375rem) 0 0 0; } -.text > ol:first-child > li:first-child, -.text > ul:first-child > li:first-child { +.text ol:first-child > li:first-child, +.text ul:first-child > li:first-child { margin-top: 0; } @@ -68,7 +68,7 @@ overflow: hidden; } -.text > blockquote:first-child { +.text blockquote:first-child { margin-top: 0; }