mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-22 20:37:48 +00:00
fix: 文本长度过长
This commit is contained in:
@@ -166,13 +166,19 @@ const ModelDataCard = ({ model }: { model: ModelSchema }) => {
|
||||
<Tbody>
|
||||
{modelDataList.map((item) => (
|
||||
<Tr key={item.id}>
|
||||
<Td>
|
||||
<Box fontSize={'xs'} w={'100%'} whiteSpace={'pre-wrap'}>
|
||||
<Td minW={'200px'}>
|
||||
<Box fontSize={'xs'} whiteSpace={'pre-wrap'}>
|
||||
{item.q}
|
||||
</Box>
|
||||
</Td>
|
||||
<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}
|
||||
</Box>
|
||||
</Td>
|
||||
|
Reference in New Issue
Block a user