From ace9646a25ed248c9efbba1c9ebac8566e2182ac Mon Sep 17 00:00:00 2001 From: Kylian Schmidt Date: Fri, 8 May 2026 16:03:52 +0200 Subject: [PATCH] Fix alignment of text --- gallery/assets/css/view-controls.css | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/gallery/assets/css/view-controls.css b/gallery/assets/css/view-controls.css index 11580d8..f2b5c06 100644 --- a/gallery/assets/css/view-controls.css +++ b/gallery/assets/css/view-controls.css @@ -304,10 +304,20 @@ border-radius: 4px !important; } +/* In compact view the thumbnail is hidden, so collapse the link out of the + flex flow and stretch it as an invisible overlay — this keeps the whole + row clickable without the empty link consuming horizontal space. */ +.plot-container.list-compact-view .plot-item { + position: relative !important; +} + .plot-container.list-compact-view .plot-link { - flex: 1 !important; - display: flex !important; - align-items: center !important; + position: absolute !important; + inset: 0 !important; + flex: none !important; + display: block !important; + width: auto !important; + height: auto !important; } .plot-container.list-compact-view .plot-thumbnail {