From 819e44165c2afd1f9d0a53d22776c9a989bb602a Mon Sep 17 00:00:00 2001 From: Alquen Sarmiento Date: Tue, 9 Jun 2026 10:57:59 +0800 Subject: [PATCH] fix: ensure wp separator have full-width --- src/styles/block.scss | 6 ++++++ src/styles/editor-block.scss | 5 +++++ 2 files changed, 11 insertions(+) diff --git a/src/styles/block.scss b/src/styles/block.scss index 9e717792f..485e21de4 100644 --- a/src/styles/block.scss +++ b/src/styles/block.scss @@ -173,6 +173,12 @@ > *:last-child { margin-bottom: 0; } + + // Separators inside .stk-inner-blocks become flex items. Explicitly setting width to 100% + // restores the expected full-width separator behavior. + .wp-block-separator { + width: 100%; + } } // Column with a block background has a padding that might not be obvious. .stk-block-background { diff --git a/src/styles/editor-block.scss b/src/styles/editor-block.scss index 622bab6f0..89e3744a6 100644 --- a/src/styles/editor-block.scss +++ b/src/styles/editor-block.scss @@ -326,3 +326,8 @@ justify-content: var(--stk-alignment-justify-content); } +// Separators inside .stk-inner-blocks become flex items. Explicitly setting width to 100% +// restores the expected full-width separator behavior. +.stk-inner-blocks .wp-block-separator { + width: 100%; +}