From 3e7cd33f79d4a3a130e217f98e37f446761fad2c Mon Sep 17 00:00:00 2001 From: cbdev Date: Fri, 18 Jul 2025 21:59:27 +0200 Subject: Fix gallery CSS --- assets/cargohold.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'assets/cargohold.css') diff --git a/assets/cargohold.css b/assets/cargohold.css index eddd1c7..95879fb 100644 --- a/assets/cargohold.css +++ b/assets/cargohold.css @@ -200,3 +200,15 @@ a.button { .footer { padding: 1em; } + +img.preview { + max-height: 95vh; + width: 100%; + display: block; + border-radius: 0.3em; +} + +a.listing-entry:has(img) { + margin: 1em auto; + width: fit-content; +} -- cgit v1.2.3