mirror of
https://github.com/inventree/InvenTree
synced 2024-08-30 18:33:04 +00:00
Fix CSS for long details field (#6739)
This commit is contained in:
parent
23f0950a76
commit
bf9dd164e1
@ -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'}{' '}
|
||||||
|
Loading…
Reference in New Issue
Block a user