1
0
Fork 0
mirror of https://github.com/sussy-code/smov.git synced 2024-12-20 14:37:43 +01:00

Fix hover text color

This commit is contained in:
Cooper Ransom 2024-03-22 23:03:29 -04:00
parent dc2f77f015
commit 5d721adb91

View file

@ -34,7 +34,10 @@ export function DmcaPage() {
<Icon icon={Icons.MAIL} /> <Icon icon={Icons.MAIL} />
<a <a
href={`mailto:${conf().DMCA_EMAIL}`} href={`mailto:${conf().DMCA_EMAIL}`}
className={isHovered ? "white-text" : ""} style={{
transition: "color 0.3s ease",
color: isHovered ? "#ffffff" : "inherit",
}}
onMouseEnter={() => setIsHovered(true)} onMouseEnter={() => setIsHovered(true)}
onMouseLeave={() => setIsHovered(false)} onMouseLeave={() => setIsHovered(false)}
> >