mirror of
https://gitee.com/nocobase/nocobase.git
synced 2025-07-01 18:52:20 +08:00
fix: misalignment issue when action column buttons are hidden (#6014)
This commit is contained in:
parent
5eb8f751da
commit
a17b0ca63b
@ -19,6 +19,9 @@ const useStyles = genStyleHook('nb-action', (token) => {
|
||||
'&.nb-action-link': {
|
||||
margin: '-12px',
|
||||
padding: '12px',
|
||||
'.nb-action-title': {
|
||||
marginInlineStart: '0px',
|
||||
},
|
||||
},
|
||||
'> .general-schema-designer': {
|
||||
position: 'absolute',
|
||||
|
@ -556,7 +556,7 @@ const RenderButtonInner = observer(
|
||||
} = props;
|
||||
|
||||
if (!designable && (field?.data?.hidden || !aclCtx)) {
|
||||
return <div style={{ visibility: 'hidden' }}> </div>;
|
||||
return null;
|
||||
}
|
||||
|
||||
return (
|
||||
|
Loading…
x
Reference in New Issue
Block a user