diff options
| author | Eltrac <hi@guhub.cn> | 2025-05-09 12:47:54 +0800 |
|---|---|---|
| committer | Eltrac <hi@guhub.cn> | 2025-05-09 12:47:54 +0800 |
| commit | 949b49af93214f07fb897e47bb412eb3b22240d2 (patch) | |
| tree | 9606c27612127a754eb8ffdb79977dbfdf2285d8 /assets/css/components | |
| parent | 8eb3611c50f1cb8378a5905442f80cbd28dfd968 (diff) | |
fix: thumbs-down image blocking user interaction
-
Diffstat (limited to 'assets/css/components')
| -rw-r--r-- | assets/css/components/_library.scss | 5 |
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; |
