From d328d7a7969256cabe160fb8a4bffc7fafa3ae25 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 18 May 2024 15:16:53 -0300 Subject: css: fix small border square when no results have art --- src/static/css/site.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/static/css') 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); } -- cgit 1.3.0-6-gf8a5