mirror of
https://github.com/nocobase/nocobase
synced 2024-11-15 07:15:36 +00:00
style: action style improve (#5018)
* style: action style improve * style: style improve * style: style improve
This commit is contained in:
parent
35a36d28dd
commit
84119e6a06
@ -133,9 +133,9 @@ export const Action: ComposedAction = withDynamicSchemaProps(
|
|||||||
return {
|
return {
|
||||||
...style,
|
...style,
|
||||||
opacity: designable && (field?.data?.hidden || !aclCtx) && 0.1,
|
opacity: designable && (field?.data?.hidden || !aclCtx) && 0.1,
|
||||||
color: disabled ? 'rgba(0, 0, 0, 0.25)' : null,
|
color: disabled ? 'rgba(0, 0, 0, 0.25)' : style?.color,
|
||||||
};
|
};
|
||||||
}, [aclCtx, designable, field?.data?.hidden, style, disabled, disabled]);
|
}, [aclCtx, designable, field?.data?.hidden, style, disabled]);
|
||||||
|
|
||||||
const handleMouseEnter = useCallback(
|
const handleMouseEnter = useCallback(
|
||||||
(e) => {
|
(e) => {
|
||||||
|
@ -21,7 +21,10 @@ const useStyles = genStyleHook('nb-grid-card', (token) => {
|
|||||||
},
|
},
|
||||||
'.ant-list-pagination': { padding: token.marginLG, background: token.colorBgContainer },
|
'.ant-list-pagination': { padding: token.marginLG, background: token.colorBgContainer },
|
||||||
},
|
},
|
||||||
'.ant-formily-item-feedback-layout-loose': { marginBottom: 0 },
|
'.ant-formily-item-feedback-layout-loose': { marginBottom: 5 },
|
||||||
|
'.ant-formily-item-feedback-layout-loose .ant-formily-item-label': {
|
||||||
|
marginBottom: -8,
|
||||||
|
},
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user