From 38a495e7c2f5ff014375029ea18bfe561fc6d52c Mon Sep 17 00:00:00 2001 From: Ella <4710635+ellatrix@users.noreply.github.com> Date: Tue, 9 Jul 2024 13:05:21 +0200 Subject: [PATCH] Post editor: increase specificity bottom padding (#63288) Co-authored-by: ellatrix Co-authored-by: t-hamano Co-authored-by: talldan --- packages/edit-post/src/components/layout/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/edit-post/src/components/layout/index.js b/packages/edit-post/src/components/layout/index.js index cfaaf810b41918..07c4e8f3b4595d 100644 --- a/packages/edit-post/src/components/layout/index.js +++ b/packages/edit-post/src/components/layout/index.js @@ -138,7 +138,9 @@ function useEditorStyles() { return [ ...baseStyles, { - css: 'body{padding-bottom: 40vh}', + // Should override global styles padding, so ensure 0-1-0 + // specificity. + css: ':root :where(body){padding-bottom: 40vh}', }, ]; }