Skip to content

Commit

Permalink
Disable WordPress' root padding
Browse files Browse the repository at this point in the history
  • Loading branch information
carstingaxion committed May 28, 2024
1 parent 8202611 commit cff7e92
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/block-editor/blocks/label-printing/style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,15 @@
* .wp-block-figuren-theater-label-printing {}
*/

// Disable WordPress' root padding
body.is-label-printing {
--wp--style--root--padding-left: 0 !important;
--wp--style--root--padding-right: 0 !important;

* {
box-shadow: none !important;
}
}

.wp-block-group.alignwide[class*="is-style-label-overview-"] {
max-width: var(--label-printing-doc-width) !important;
Expand Down

0 comments on commit cff7e92

Please sign in to comment.