fix: 文本长度过长
This commit is contained in:
parent
e08e8aa00b
commit
c12aa7fdf7
@ -166,13 +166,19 @@ const ModelDataCard = ({ model }: { model: ModelSchema }) => {
|
|||||||
<Tbody>
|
<Tbody>
|
||||||
{modelDataList.map((item) => (
|
{modelDataList.map((item) => (
|
||||||
<Tr key={item.id}>
|
<Tr key={item.id}>
|
||||||
<Td>
|
<Td minW={'200px'}>
|
||||||
<Box fontSize={'xs'} w={'100%'} whiteSpace={'pre-wrap'}>
|
<Box fontSize={'xs'} whiteSpace={'pre-wrap'}>
|
||||||
{item.q}
|
{item.q}
|
||||||
</Box>
|
</Box>
|
||||||
</Td>
|
</Td>
|
||||||
<Td minW={'200px'}>
|
<Td minW={'200px'}>
|
||||||
<Box w={'100%'} fontSize={'xs'} whiteSpace={'pre-wrap'}>
|
<Box
|
||||||
|
w={'100%'}
|
||||||
|
fontSize={'xs'}
|
||||||
|
whiteSpace={'pre-wrap'}
|
||||||
|
maxH={'250px'}
|
||||||
|
overflowY={'auto'}
|
||||||
|
>
|
||||||
{item.text}
|
{item.text}
|
||||||
</Box>
|
</Box>
|
||||||
</Td>
|
</Td>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user