Skip to content

Commit

Permalink
Remove editor CSS
Browse files Browse the repository at this point in the history
The frontend style is loaded in the editor iframe, so this is not used
  • Loading branch information
ryelle committed Dec 10, 2024
1 parent 3a72223 commit 4c53afc
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 30 deletions.
1 change: 0 additions & 1 deletion mu-plugins/blocks/modal/src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@
"interactivity": true
},
"editorScript": "file:./index.js",
"editorStyle": "file:./index.css",
"style": "file:./style-index.css",
"viewScriptModule": "file:./view.js",
"render": "file:../render.php"
Expand Down
29 changes: 0 additions & 29 deletions mu-plugins/blocks/modal/src/editor.scss

This file was deleted.

1 change: 1 addition & 0 deletions mu-plugins/blocks/modal/src/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,7 @@
z-index: 1;
width: 24px;
height: 24px;
cursor: pointer;
border: none;
background: transparent;
color: var(--wp--custom--wporg-modal--color--close-button);
Expand Down

0 comments on commit 4c53afc

Please sign in to comment.