🐛 fix: cursor pointer on all buttons

This commit is contained in:
ZhenShuo Leo
2025-05-25 04:20:10 +08:00
parent 079660d207
commit 30d74227df
4 changed files with 4 additions and 3 deletions

View File

@@ -3474,6 +3474,7 @@ 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));

View File

@@ -7,7 +7,7 @@
body a,
body button {
@apply transition-colors;
@apply transition-colors cursor-pointer;
}
/* Scale SVG icons to text size */

View File

@@ -36,7 +36,7 @@
<div class="mt-10 flex justify-center">
<a href="{{ $showMoreLinkDest }}">
<button
class="bg-transparent cursor-pointer hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded">
class="bg-transparent hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded">
{{ i18n "recent.show_more" | markdownify }}
</button>
</a>

View File

@@ -21,7 +21,7 @@
<div class="mt-10 flex justify-center">
<a href="{{ $showMoreLinkDest }}">
<button
class="bg-transparent cursor-pointer hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded">
class="bg-transparent hover:text-primary-500 prose dark:prose-invert font-semibold hover:text-white py-2 px-4 border border-primary-500 hover:border-transparent rounded">
{{ i18n "recent.show_more" | markdownify }}
</button>
</a>