« get me outta code hell

css: fix small border square when no results have art - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
path: root/src/static/css
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-18 15:16:53 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-31 12:11:56 -0300
commitd328d7a7969256cabe160fb8a4bffc7fafa3ae25 (patch)
tree2adfd2d7f3eca3aef784adbf9c1424599879f828 /src/static/css
parent8d8475ee3e6fe90d47387d0e2ab5bd98c48c373d (diff)
css: fix small border square when no results have art
Diffstat (limited to 'src/static/css')
-rw-r--r--src/static/css/site.css8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/static/css/site.css b/src/static/css/site.css
index ca0e3921..a9ff8529 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -615,6 +615,10 @@ summary .group-name {
   border: 2px solid var(--deep-color);
 }
 
+.wiki-search-results:not(:has(.wiki-search-result-image)) .wiki-search-result-image-container {
+  display: none;
+}
+
 .wiki-search-result-image,
 .wiki-search-result-image-placeholder {
   display: block;
@@ -629,10 +633,6 @@ summary .group-name {
   box-shadow: 0 1px 3px -1px #0008 inset;
 }
 
-.wiki-search-results:not(:has(.wiki-search-result-image)) .wiki-search-result-image-placeholder {
-  display: none;
-}
-
 .wiki-search-result-image.has-warning {
   filter: blur(2px) brightness(0.8);
 }