Commit 67724f2f by archer

fix: tag

parent e5e720e8
......@@ -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'}>
......
......@@ -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>
))}
......
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