From 936ed9e248540fe53f694a7303a7c628521ab3eb Mon Sep 17 00:00:00 2001 From: Sascha Karnatz <122262394+sascha-karnatz@users.noreply.github.com> Date: Fri, 16 Feb 2024 16:55:17 +0100 Subject: [PATCH] Fix overlay picture grid The grid had a very big gap between the rows, if the amount of pictures was too low. It uses now the minimal height for each row. (cherry picked from commit cfb8bb4b17d62fa88b48b61bf75eb978032a64bf) --- app/assets/stylesheets/alchemy/archive.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/app/assets/stylesheets/alchemy/archive.scss b/app/assets/stylesheets/alchemy/archive.scss index ea406d9667..a5f5d1b3e5 100644 --- a/app/assets/stylesheets/alchemy/archive.scss +++ b/app/assets/stylesheets/alchemy/archive.scss @@ -125,6 +125,7 @@ display: grid; gap: 2 * $default-margin; + grid-auto-rows: min-content; grid-template-columns: repeat( auto-fill, minmax(var(--picture-thumbnail-width), auto)