mirror of
https://github.com/sussy-code/smov.git
synced 2024-12-29 16:07:40 +01:00
Fix hover text color
This commit is contained in:
parent
dc2f77f015
commit
5d721adb91
1 changed files with 4 additions and 1 deletions
|
@ -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)}
|
||||||
>
|
>
|
||||||
|
|
Loading…
Reference in a new issue