Skip to content

Commit

Permalink
Simplify CSS for the code block (#27314)
Browse files Browse the repository at this point in the history
  • Loading branch information
scruffian authored Nov 27, 2020
1 parent bc101ac commit 31bb2ea
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
4 changes: 0 additions & 4 deletions packages/block-library/src/code/editor.scss

This file was deleted.

1 change: 1 addition & 0 deletions packages/block-library/src/code/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
font-size: var(--wp--preset--font-size--extra-small, 0.9em);

code {
display: block;
white-space: pre-wrap;
overflow-wrap: break-word;
}
Expand Down
1 change: 0 additions & 1 deletion packages/block-library/src/editor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
@import "./button/editor.scss";
@import "./buttons/editor.scss";
@import "./categories/editor.scss";
@import "./code/editor.scss";
@import "./columns/editor.scss";
@import "./cover/editor.scss";
@import "./embed/editor.scss";
Expand Down

0 comments on commit 31bb2ea

Please sign in to comment.