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.
  • Loading branch information
sascha-karnatz committed Feb 16, 2024
1 parent 71cb36d commit cfb8bb4
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 cfb8bb4

Please sign in to comment.