prevent channel links from overlapping
This commit is contained in:
parent
855868f062
commit
cb756fad5a
1 changed files with 2 additions and 2 deletions
|
@ -10,13 +10,13 @@
|
||||||
<section class="mx-auto max-w-xl mt-8 text-sm">
|
<section class="mx-auto max-w-xl mt-8 text-sm">
|
||||||
<ul class="flex flex-wrap gap-3">
|
<ul class="flex flex-wrap gap-3">
|
||||||
<li>
|
<li>
|
||||||
<a href="#" class="text-theme-base px-3 py-2.5 hover:bg-theme-background1 rounded transition font-semibold">
|
<a href="#" class="inline-block text-theme-base px-3 py-2.5 hover:bg-theme-background1 rounded transition font-semibold">
|
||||||
<.icon name="hero-megaphone" />
|
<.icon name="hero-megaphone" />
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<%= for channel <- @channels do %>
|
<%= for channel <- @channels do %>
|
||||||
<li>
|
<li>
|
||||||
<a href={~p"/c/#{channel.slug}"} class="text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold">
|
<a href={~p"/c/#{channel.slug}"} class="inline-block text-theme-base px-3 py-2.5 border border-theme-background1 hover:bg-theme-background1 rounded transition font-semibold">
|
||||||
<%= channel.name %>
|
<%= channel.name %>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
|
|
Loading…
Reference in a new issue