Commit c12aa7fd by archer

fix: 文本长度过长

parent e08e8aa0
...@@ -166,13 +166,19 @@ const ModelDataCard = ({ model }: { model: ModelSchema }) => { ...@@ -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>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment