2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-21 22:30:53 +00:00

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

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'}{' '}