view: subreddits list now has a justified layout
This commit is contained in:
parent
5076071b0c
commit
c3ba228130
|
@ -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)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue