summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-12-02 23:59:16 +0800
committerEltrac <hi@guhub.cn>2025-12-02 23:59:16 +0800
commit5af2f5c4c7e9d06bef4352573f943d12505612d5 (patch)
tree4cc1294adedae45f33cd26dd543d62be5e0f456f
parent463d841c709dd7b04c7a9fc3491bec23a7797a88 (diff)
fix(component/now-read-this): unwanted hover style in dark mode
-rw-r--r--layouts/_partials/posts/now-read-this.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_partials/posts/now-read-this.html b/layouts/_partials/posts/now-read-this.html
index 927e4d6f..2c35a8ec 100644
--- a/layouts/_partials/posts/now-read-this.html
+++ b/layouts/_partials/posts/now-read-this.html
@@ -1,7 +1,7 @@
{{ with site.RegularPages.Related . | first 1 }}
{{ range . }}
<a class="-mx-4 mt-8 p-4 pb-7 relative leading-loose block rounded-xl
- hover:no-underline hover:bg-neutral-200/25 transition-colors"
+ hover:no-underline hover:bg-neutral-200/25 dark:hover:bg-neutral-700/25 transition-colors"
href="{{ .RelPermalink }}">
<h4 class="absolute -z-1 bottom-0 right-4 text-8 m-0 opacity-20 font-italic">
{{ T "nowReadThis" }}