From deb2382cd37adc45d345a16395648391a788d00b Mon Sep 17 00:00:00 2001 From: Adam Wood <1017872+adamwoodnz@users.noreply.github.com> Date: Tue, 28 May 2024 10:17:45 +1200 Subject: [PATCH] Revert "Sidebar container block: Allow themes to override top margin" This reverts commit ed9879d762f9c46edd98e01ab8b492dbaea95af0. Fixes https://github.com/WordPress/wporg-documentation-2022/issues/94 --- mu-plugins/blocks/sidebar-container/postcss/style.pcss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mu-plugins/blocks/sidebar-container/postcss/style.pcss b/mu-plugins/blocks/sidebar-container/postcss/style.pcss index ec89ab474..311653fc0 100644 --- a/mu-plugins/blocks/sidebar-container/postcss/style.pcss +++ b/mu-plugins/blocks/sidebar-container/postcss/style.pcss @@ -102,6 +102,6 @@ main .wp-block-wporg-sidebar-container { } /* Set up the custom properties. These can be overridden by settings in theme.json. */ -:where(html) { +:where(body) { --wp--custom--wporg-sidebar-container--spacing--margin--top: var(--wp--preset--spacing--edge-space); }