mirror of
https://github.com/pheralb/svgl.git
synced 2024-11-13 08:46:56 +08:00
fix!: LInk hover
This commit is contained in:
parent
e97e859f33
commit
0b7ea6015b
@ -15,9 +15,20 @@ const Categories = () => {
|
|||||||
return (
|
return (
|
||||||
<>
|
<>
|
||||||
{data.map((category: string) => (
|
{data.map((category: string) => (
|
||||||
<Box key={category} p="4" borderRadius="5px" borderWidth="1px">
|
<CustomLink
|
||||||
<CustomLink href={`/category/${category}`}>{category}</CustomLink>
|
key={category}
|
||||||
</Box>
|
href={`/category/${category}`}>
|
||||||
|
<Box
|
||||||
|
p={4}
|
||||||
|
borderRadius="4px"
|
||||||
|
borderWidth="1px"
|
||||||
|
_hover={{
|
||||||
|
border:"1px solid rgb(0,0,0, .1)",
|
||||||
|
transform: "scale(0.98)",
|
||||||
|
}}>
|
||||||
|
{category}
|
||||||
|
</Box>
|
||||||
|
</CustomLink>
|
||||||
))}
|
))}
|
||||||
</>
|
</>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user