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:
parent
dc2f77f015
commit
5d721adb91
1 changed files with 4 additions and 1 deletions
|
@ -34,7 +34,10 @@ export function DmcaPage() {
|
|||
<Icon icon={Icons.MAIL} />
|
||||
<a
|
||||
href={`mailto:${conf().DMCA_EMAIL}`}
|
||||
className={isHovered ? "white-text" : ""}
|
||||
style={{
|
||||
transition: "color 0.3s ease",
|
||||
color: isHovered ? "#ffffff" : "inherit",
|
||||
}}
|
||||
onMouseEnter={() => setIsHovered(true)}
|
||||
onMouseLeave={() => setIsHovered(false)}
|
||||
>
|
||||
|
|
Loading…
Reference in a new issue