Skip to content

Commit

Permalink
fix(view:matrix): grid-template-rows: min-content, instead of allowin…
Browse files Browse the repository at this point in the history
…g the tallest cell to take over (thanks sailKite :))
  • Loading branch information
SkepticMystic committed Apr 30, 2024
1 parent 7715abe commit 0fe693c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/page_views/TrailViewGrid.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@

<div
class="BC-trail-view grid"
style="grid-template-rows: {'1fr '.repeat(square.length)};
style="grid-template-rows: min-content;
grid-template-columns: {'1fr '.repeat(square.at(0)?.length ?? 0)};"
>
{#each col_runs as col, j}
Expand Down

0 comments on commit 0fe693c

Please sign in to comment.