Skip to content

Commit

Permalink
Post editor: increase specificity bottom padding (WordPress#63288)
Browse files Browse the repository at this point in the history
Co-authored-by: ellatrix <[email protected]>
Co-authored-by: t-hamano <[email protected]>
Co-authored-by: talldan <[email protected]>
  • Loading branch information
4 people authored and carstingaxion committed Jul 18, 2024
1 parent c33cc05 commit 23f2b49
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/edit-post/src/components/layout/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}',
},
];
}
Expand Down

0 comments on commit 23f2b49

Please sign in to comment.