1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-11-22 01:47:00 +01:00

Update ButtonLink hover underline (#19992)

* Update ButtonLink hover underline

* update buttonlink to use text decoration

* update buttonlink to use text decoration

* fix lint
This commit is contained in:
Garrett Bear 2023-07-14 12:25:46 -07:00 committed by GitHub
parent 775ca0dc31
commit c028bba8fd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,10 @@
.mm-button-link {
&:hover:not(&--disabled) {
text-decoration: underline;
text-decoration-thickness: 2px;
text-underline-offset: 4px;
}
&:active {
color: var(--color-primary-alternative);
}
@ -38,4 +43,9 @@
line-height: inherit;
letter-spacing: inherit;
}
&--size-inherit:hover:not(&--disabled) {
text-decoration-thickness: auto;
text-underline-offset: 2px;
}
}