From 949b49af93214f07fb897e47bb412eb3b22240d2 Mon Sep 17 00:00:00 2001 From: Eltrac Date: Fri, 9 May 2025 12:47:54 +0800 Subject: fix: thumbs-down image blocking user interaction - --- assets/css/components/_library.scss | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/assets/css/components/_library.scss b/assets/css/components/_library.scss index 5fcafae4..a7e2de78 100644 --- a/assets/css/components/_library.scss +++ b/assets/css/components/_library.scss @@ -14,11 +14,11 @@ } width: calc(100% / var(--number-in-line) - var(--gap)); - position: relative; &.badbook { opacity: 0.5; z-index: 0; - &::before { + a { position: relative; } + a::before { position: absolute; z-index: 1; content: ""; @@ -26,7 +26,6 @@ left: 25%; height: 50%; width: 50%; - background-image: url('/img/thumbs-down.png'); background-size: 100%; background-position: center; -- cgit v1.2.3