view: subreddits list now has a justified layout

This commit is contained in:
Tigor Hutasuhut 2024-05-04 19:50:53 +07:00
parent 5076071b0c
commit c3ba228130

View file

@ -30,7 +30,7 @@ templ SubredditContent(c *views.Context, data Data) {
</div>
<div class="divider"></div>
}
<div class="flex flex-wrap gap-1" hx-boost="true">
<div class="flex flex-wrap gap-1 justify-around" hx-boost="true">
for _, subreddit := range data.Subreddits.Data {
@SubredditCard(c, subreddit)
}