From 2a50d19677a7199700c9735f622668c967131576 Mon Sep 17 00:00:00 2001 From: jasmussen Date: Thu, 13 Jan 2022 09:50:48 +0100 Subject: [PATCH] Unset inherited backgrounds on Posts Lists. --- packages/block-library/src/post-template/style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/block-library/src/post-template/style.scss b/packages/block-library/src/post-template/style.scss index 13e8f5cfb7104..9efeed23e3758 100644 --- a/packages/block-library/src/post-template/style.scss +++ b/packages/block-library/src/post-template/style.scss @@ -11,6 +11,11 @@ list-style: none; padding: 0; + // Unset background colors that can be inherited from Global Styles with extra specificity. + &.wp-block-post-template { + background: none; + } + &.is-flex-container { flex-direction: row; display: flex;