fix: Wrap tags and avoid horizontal overflow

This commit is contained in:
Alex 2024-02-04 13:15:39 +01:00 committed by GitHub
parent 818399bc23
commit d56d4eb8fc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1,7 +1,7 @@
<div>
<h1>Tags</h1>
<div>Here you can see all the tags here</div>
<div class="flex gap-2 pt-10">
<div class="flex gap-2 pt-10 flex-wrap">
@forelse ($tags as $tag)
<a class="box" href="{{ route('tags.show', ['tag_name' => $tag->name]) }}">{{ $tag->name }}</a>
@empty