Skip to content

Commit 6c98588

Browse files
committed
fix inner column block styles preview
1 parent 642b0b4 commit 6c98588

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

src/components/style-guide/utils.js

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,13 @@ const getSerializedBlock = props => {
257257
serialized += '\n' + serialize( duplicateBlock )
258258
}
259259

260+
if ( blockName === 'stackable/column' ) {
261+
block = createBlock( 'stackable/columns', {}, [ block ] )
262+
newBlock = getGeneratedCss( [ block ] )
263+
serialized = serialize( newBlock )
264+
blockName = 'stackable/columns'
265+
}
266+
260267
if ( blockName === 'stackable/icon-list-item' ) {
261268
block = createBlock( 'stackable/icon-list', {}, [ block ] )
262269
newBlock = getGeneratedCss( [ block ] )

0 commit comments

Comments
 (0)