From cff7e92a8a0d683debd1af92c166812f66aa10c8 Mon Sep 17 00:00:00 2001 From: Carsten Bach Date: Tue, 28 May 2024 17:15:43 +0200 Subject: [PATCH] Disable WordPress' root padding --- src/block-editor/blocks/label-printing/style.scss | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/block-editor/blocks/label-printing/style.scss b/src/block-editor/blocks/label-printing/style.scss index 3a5394e..3ce53ae 100644 --- a/src/block-editor/blocks/label-printing/style.scss +++ b/src/block-editor/blocks/label-printing/style.scss @@ -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;