Skip to content

Commit

Permalink
#5852 Fix action block rendering for tables (#5853)
Browse files Browse the repository at this point in the history
  • Loading branch information
styx committed Jul 12, 2024
1 parent ad4c476 commit 25e891f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion installer/templates/phx_web/components/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ defmodule <%= @web_namespace %>.CoreComponents do
</div>
</td>
<td :if={@action != []} class="relative w-14 p-0">
<span class="absolute -inset-y-px -right-4 left-0 group-hover:bg-zinc-50 sm:rounded-r-xl" />
<div class="relative whitespace-nowrap py-4 text-right text-sm font-medium">
<span class="absolute -inset-y-px -right-4 left-0 group-hover:bg-zinc-50 sm:rounded-r-xl" />
<span
:for={action <- @action}
class="relative ml-4 font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
Expand Down
2 changes: 1 addition & 1 deletion priv/templates/phx.gen.live/core_components.ex
Original file line number Diff line number Diff line change
Expand Up @@ -502,8 +502,8 @@ defmodule <%= @web_namespace %>.CoreComponents do
</div>
</td>
<td :if={@action != []} class="relative w-14 p-0">
<span class="absolute -inset-y-px -right-4 left-0 group-hover:bg-zinc-50 sm:rounded-r-xl" />
<div class="relative whitespace-nowrap py-4 text-right text-sm font-medium">
<span class="absolute -inset-y-px -right-4 left-0 group-hover:bg-zinc-50 sm:rounded-r-xl" />
<span
:for={action <- @action}
class="relative ml-4 font-semibold leading-6 text-zinc-900 hover:text-zinc-700"
Expand Down

0 comments on commit 25e891f

Please sign in to comment.