Fix CSS for long details field (#6739)

This commit is contained in:
Oliver 2024-03-18 14:02:39 +11:00 committed by GitHub
parent 23f0950a76
commit bf9dd164e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -198,7 +198,13 @@ function TableStringValue(props: FieldProps) {
} }
return ( return (
<div style={{ display: 'flex', justifyContent: 'space-between' }}> <div
style={{
display: 'flex',
justifyContent: 'space-between',
wordBreak: 'break-word'
}}
>
<Suspense fallback={<Skeleton width={200} height={20} radius="xl" />}> <Suspense fallback={<Skeleton width={200} height={20} radius="xl" />}>
<span> <span>
{value ? value : props.field_data?.unit && '0'}{' '} {value ? value : props.field_data?.unit && '0'}{' '}