Skip to content

Commit c13c36a

Browse files
authored
Fixed CTA card wrapperStyle for when there is no background color (#1438)
No ref
1 parent 39e6839 commit c13c36a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/koenig-lexical/src/nodes/CallToActionNode.jsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ export class CallToActionNode extends BaseCallToActionNode {
7777
return (
7878
<KoenigCardWrapper
7979
nodeKey={this.getKey()}
80-
wrapperStyle={this.backgroundColor ? 'regular' : 'wide'}
80+
wrapperStyle={this.backgroundColor === 'none' ? 'wide' : 'regular'}
8181
>
8282
<CallToActionNodeComponent
8383
backgroundColor={this.backgroundColor}

0 commit comments

Comments
 (0)