fix: fix style of setting button in compact theme (#6001)

This commit is contained in:
Katherine 2025-01-07 10:04:47 +08:00 committed by GitHub
parent f9f9134fa7
commit bea3ebccc4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -60,7 +60,7 @@ export const TableColumnActionBar = observer(
<SortableItem <SortableItem
className={designerCss({ className={designerCss({
margin: isInSubTable ? '-12px -8px' : '-18px -16px', margin: isInSubTable ? '-12px -8px' : '-18px -16px',
padding: isInSubTable ? '12px 8px' : '18px 16px', padding: isInSubTable ? '12px 8px' : '12px 16px',
})} })}
> >
<Designer /> <Designer />

View File

@ -88,7 +88,7 @@ export const TableColumnDecorator = (props) => {
<SortableItem <SortableItem
className={designerCss({ className={designerCss({
margin: isInSubTable ? '-12px -8px' : '-18px -16px', margin: isInSubTable ? '-12px -8px' : '-18px -16px',
padding: isInSubTable ? '12px 8px' : '18px 16px', padding: isInSubTable ? '12px 8px' : '12px 16px',
})} })}
> >
<CollectionFieldContext.Provider value={collectionField}> <CollectionFieldContext.Provider value={collectionField}>