summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEltrac <hi@guhub.cn>2025-05-09 12:47:54 +0800
committerEltrac <hi@guhub.cn>2025-05-09 12:47:54 +0800
commitb9282e4963b82e52d98e0c425ba2d2c41eb06b46 (patch)
tree52c4145aa72d3b4443e95facec504f1296af4f7e
parent531a81417c5c5211010fc6dcacd473429119be0d (diff)
fix: thumbs-down image blocking user interaction
- Former-commit-id: 949b49af93214f07fb897e47bb412eb3b22240d2
-rw-r--r--assets/css/components/_library.scss5
1 files 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;