Skip to content

Commit 9baef2c

Browse files
ellatrixt-hamanotalldan
authored andcommitted
Post editor: increase specificity bottom padding (#63288)
Co-authored-by: ellatrix <[email protected]> Co-authored-by: t-hamano <[email protected]> Co-authored-by: talldan <[email protected]>
1 parent d995412 commit 9baef2c

File tree

1 file changed

+3
-1
lines changed
  • packages/edit-post/src/components/layout

1 file changed

+3
-1
lines changed

packages/edit-post/src/components/layout/index.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,9 @@ function useEditorStyles() {
130130
return [
131131
...baseStyles,
132132
{
133-
css: 'body{padding-bottom: 40vh}',
133+
// Should override global styles padding, so ensure 0-1-0
134+
// specificity.
135+
css: ':root :where(body){padding-bottom: 40vh}',
134136
},
135137
];
136138
}

0 commit comments

Comments
 (0)