mirror of
https://github.com/lowdefy/lowdefy.git
synced 2025-02-17 14:30:34 +08:00
fix(blocksAntd): Fix Card block title area.
This commit is contained in:
parent
0456b0073d
commit
475aef6a81
@ -22,7 +22,7 @@ const CardBlock = ({ blockId, content, properties, methods }) => (
|
||||
<Card
|
||||
id={blockId}
|
||||
title={
|
||||
<RenderHtml html={content.title ? content.title() : properties.title} methods={methods} />
|
||||
content.title ? content.title() : <RenderHtml html={properties.title} methods={methods} />
|
||||
}
|
||||
headStyle={methods.makeCssClass(properties.headerStyle, { styleObjectOnly: true })}
|
||||
bodyStyle={methods.makeCssClass(properties.bodyStyle, { styleObjectOnly: true })}
|
||||
|
Loading…
Reference in New Issue
Block a user