mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:25:15 +00:00
style: update form description style
This commit is contained in:
parent
11f5050fd5
commit
613c4a14ad
@ -11,7 +11,7 @@ export const FormDescription = createVirtualBox(
|
||||
<Card size={'small'} headStyle={{padding: 0}} bodyStyle={{
|
||||
padding: 0,
|
||||
}} className={className} {...props}>
|
||||
<div dangerouslySetInnerHTML={{__html: children && markdown(children)}}></div>
|
||||
{typeof children === 'string' && children && <div dangerouslySetInnerHTML={{__html: markdown(children)}}></div>}
|
||||
</Card>
|
||||
)
|
||||
})`
|
||||
@ -19,6 +19,13 @@ export const FormDescription = createVirtualBox(
|
||||
&.ant-card {
|
||||
border: none;
|
||||
box-shadow: none;
|
||||
.ant-card-head {
|
||||
font-size: 16px;
|
||||
background: #fafafa;
|
||||
margin: 0 -24px;
|
||||
padding: 4px 24px !important;
|
||||
border-top: 1px solid #f0f0f0;
|
||||
}
|
||||
p:first-child {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user