Skip to content

Commit c21bfa8

Browse files
fix (theme.json support): removed theme.json inheritance for column gap since it destroys our design library
1 parent 5d50b4a commit c21bfa8

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

src/block/columns/style.scss

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@
1515
margin-right: auto;
1616
}
1717

18+
// DEV NOTE: Let's not add this theme.json inheritance since it destroys the normal behavior of our blocks.
1819
// These are styles added from the block style inheritance.
19-
:where(.stk-has-block-style-inheritance) {
20-
.stk-block-columns > .stk-block-content {
21-
--stk-column-gap: var(--stk-columns-column-gap, 0px); // For nested columns, this takes precedence.
22-
}
23-
}
20+
// :where(.stk-has-block-style-inheritance) {
21+
// .stk-block-columns > .stk-block-content {
22+
// --stk-column-gap: var(--stk-columns-column-gap, 0px); // For nested columns, this takes precedence.
23+
// }
24+
// }
2425

2526
// These are styles added from the global spacing and borders.
2627
:where(.stk-has-design-system-spacing-and-borders) {

0 commit comments

Comments
 (0)