(fix) MkButtonがリンクのときホバー時にunderlineが出る問題を修正 (#12849)

This commit is contained in:
かっこかり 2024-01-02 17:48:11 +09:00 committed by GitHub
parent 3187c6b28d
commit 9c5559a570
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -131,6 +131,10 @@ function onMousedown(evt: MouseEvent): void {
box-sizing: border-box; box-sizing: border-box;
transition: background 0.1s ease; transition: background 0.1s ease;
&:hover {
text-decoration: none;
}
&:not(:disabled):hover { &:not(:disabled):hover {
background: var(--buttonHoverBg); background: var(--buttonHoverBg);
} }