Skip to content

Commit

Permalink
Fix overlay picture grid
Browse files Browse the repository at this point in the history
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 cfb8bb4)
  • Loading branch information
sascha-karnatz committed Feb 16, 2024
1 parent a156bcb commit 936ed9e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions app/assets/stylesheets/alchemy/archive.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit 936ed9e

Please sign in to comment.