Update SKELETON_HEIGHT in ObjectTable component for improved layout consistency. Adjust Skeleton.Input height for better visual alignment in the dashboard table.

This commit is contained in:
Tom Butcher 2026-07-23 23:24:52 +01:00
parent deec609d54
commit 5c436e6afa

View File

@ -50,7 +50,7 @@ const logger = loglevel.getLogger('DasboardTable')
logger.setLevel(config.logLevel)
const SCROLL_THRESHOLD = 50
const SKELETON_HEIGHT = 49
const SKELETON_HEIGHT = 49.5
const RowForm = ({ record, isEditing, onRegister, children }) => {
const [form] = Form.useForm()
@ -966,7 +966,11 @@ const ObjectTable = forwardRef(
render: (text, record) => {
if (record?.isSkeleton) {
return (
<Skeleton.Input active size='small' style={{ width: '100%' }} />
<Skeleton.Input
active
size='small'
style={{ width: '100%', height: 24.5 }}
/>
)
}
return (