This commit is contained in:
archer
2023-07-25 16:14:03 +08:00
parent e5e720e87e
commit 67724f2fa6
2 changed files with 9 additions and 7 deletions

View File

@@ -215,7 +215,7 @@ const Info = (
setRefresh(!refresh);
}}
/>
<Box w={'100%'} pl={['90px', '160px']} mt={2}>
<Flex w={'100%'} pl={['90px', '160px']} mt={2}>
{getValues('tags')
.split(' ')
.filter((item) => item)
@@ -224,7 +224,7 @@ const Info = (
{item}
</Tag>
))}
</Box>
</Flex>
</Flex>
<Flex mt={5} w={'100%'} alignItems={'flex-end'}>

View File

@@ -132,11 +132,13 @@ const Kb = () => {
/>
</Flex>
<Box flex={'1 0 0'} overflow={'hidden'} pt={2}>
{kb.tags.map((tag, i) => (
<Tag key={i} mr={2} mb={2}>
{tag}
</Tag>
))}
<Flex>
{kb.tags.map((tag, i) => (
<Tag key={i} mr={2} mb={2}>
{tag}
</Tag>
))}
</Flex>
</Box>
</Card>
))}