Skip to content

Commit 819e441

Browse files
committed
fix: ensure wp separator have full-width
1 parent fe8f5c3 commit 819e441

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

src/styles/block.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,12 @@
173173
> *:last-child {
174174
margin-bottom: 0;
175175
}
176+
177+
// Separators inside .stk-inner-blocks become flex items. Explicitly setting width to 100%
178+
// restores the expected full-width separator behavior.
179+
.wp-block-separator {
180+
width: 100%;
181+
}
176182
}
177183
// Column with a block background has a padding that might not be obvious.
178184
.stk-block-background {

src/styles/editor-block.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -326,3 +326,8 @@
326326
justify-content: var(--stk-alignment-justify-content);
327327
}
328328

329+
// Separators inside .stk-inner-blocks become flex items. Explicitly setting width to 100%
330+
// restores the expected full-width separator behavior.
331+
.stk-inner-blocks .wp-block-separator {
332+
width: 100%;
333+
}

0 commit comments

Comments
 (0)