🐛 fix: make cursor pointer correctly on all buttons

Restore button CSS behavior from ef5186c

ef5186ce4c/assets/css/compiled/main.css (L522)
This commit is contained in:
ZhenShuo Leo
2025-05-25 04:58:41 +08:00
parent 30d74227df
commit 5afceca56a
2 changed files with 9 additions and 2 deletions

View File

@@ -3474,11 +3474,13 @@ body.zen-mode-enable {
}
}
body a, body button {
cursor: pointer;
transition-property: color, background-color, border-color, outline-color, text-decoration-color, fill, stroke, --tw-gradient-from, --tw-gradient-via, --tw-gradient-to;
transition-timing-function: var(--tw-ease, var(--default-transition-timing-function));
transition-duration: var(--tw-duration, var(--default-transition-duration));
}
button, [role="button"] {
cursor: pointer;
}
.icon svg {
height: 1em;
width: 1em;

View File

@@ -7,7 +7,12 @@
body a,
body button {
@apply transition-colors cursor-pointer;
@apply transition-colors;
}
button,
[role="button"] {
cursor: pointer;
}
/* Scale SVG icons to text size */