From c484f556a6d847db0a44a5f36224d9d56de2dcc5 Mon Sep 17 00:00:00 2001 From: denizk0461 Date: Wed, 11 Feb 2026 11:59:54 +0100 Subject: [PATCH] added background to gallery items when highlighted --- src/lib/lists/gallery.svelte | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/lib/lists/gallery.svelte b/src/lib/lists/gallery.svelte index 916764c..5e4e1e1 100644 --- a/src/lib/lists/gallery.svelte +++ b/src/lib/lists/gallery.svelte @@ -90,7 +90,7 @@ border-color: transparent; border-width: 2px; border-left: none; - transition: border-color 0.1s ease-out, padding-right 0.1s ease-out; + transition: border-color 0.1s ease-out, padding-right 0.1s ease-out, background-color 0.1s ease-out; } .gallery-title, .gallery-subtitle { @@ -110,6 +110,7 @@ .gallery-container:hover .gallery-text-container { border-color: var(--color-highlight); + background-color: var(--color-background-highlight); } .gallery-container:hover .gallery-img, .gallery-container:hover .gallery-img-placeholder { /* filter: grayscale(0%); */