fix: chart block actionBar style (#4666)

This commit is contained in:
Katherine 2024-06-14 20:27:34 +08:00 committed by GitHub
parent 5a3466a73a
commit d2b2ac69e6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ export const ActionBar = withDynamicSchemaProps(
<Portal>
<DndContext>
<div
style={{ display: 'flex', alignItems: 'center', gap: 8, marginTop: token.marginLG, ...style }}
style={{ display: 'flex', alignItems: 'center', gap: 8, ...style, marginTop: token.marginLG }}
{...others}
className={cx(others.className, 'nb-action-bar')}
>

View File

@ -51,7 +51,7 @@ const createFilterSchema = () => {
layout: 'one-column',
style: {
float: 'right',
marginTop: 8,
marginTop: 'var(--nb-spacing)',
},
},
properties: {},