Skip to content

Commit

Permalink
Fix body styles leaking to wp-admin
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Nov 19, 2024
1 parent 0c65b81 commit f5297f2
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 14 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
### [Unreleased]

* Fix body styles leaking to wp-admin

### 9.4.6: 2024-11-19

* Demo: Prevent spaces in theme-info link
Expand Down
16 changes: 8 additions & 8 deletions css/dev/global.css

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions css/dev/gutenberg-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/global.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion css/prod/gutenberg-editor-styles.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion sass/layout/_general.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
// Body
.is-root-container,
.acf-block-preview .block,
body {
body:not(.wp-admin) {
color: var(--color-paragraph);
font-family: var(--typography-family-paragraph);
font-size: var(--typography-paragraph-size);
Expand Down

0 comments on commit f5297f2

Please sign in to comment.