mirror of
https://github.com/pheralb/svgl.git
synced 2025-02-11 09:40:31 +08:00
⚒️ Fix svg card.
This commit is contained in:
parent
048e68303f
commit
242cc8bb53
@ -10,6 +10,7 @@ import {
|
||||
} from "@chakra-ui/react";
|
||||
import Tap from "@/animations/tap";
|
||||
import CustomLink from "@/common/link";
|
||||
import { Smiley } from "phosphor-react";
|
||||
|
||||
const SVGCard = (props: SVGCardProps) => {
|
||||
const bg = useColorModeValue("bg.light", "bg.dark");
|
||||
@ -27,11 +28,11 @@ const SVGCard = (props: SVGCardProps) => {
|
||||
mb="2"
|
||||
_hover={{
|
||||
border:`1px solid ${color}`,
|
||||
transform: "scale(0.98)",
|
||||
transform: "scale(1.04)",
|
||||
}}
|
||||
transition="all 0.2s" >
|
||||
<Center>
|
||||
<Image boxSize="50px" src={props.svg} alt={props.title} />
|
||||
<Image boxSize="45px" src={props.svg} alt={props.title} />
|
||||
</Center>
|
||||
<Text mt="2" fontWeight="light" textAlign="center">
|
||||
{props.title}
|
||||
|
Loading…
x
Reference in New Issue
Block a user