Update the table component to remove the extra white border.
continuous-integration/drone/push Build is passing Details

dev
KKlochko 2 months ago
parent b1e174eb2e
commit a8951a5166

@ -549,9 +549,9 @@ defmodule DecentralisedBookIndexWeb.CoreComponents do
<tbody
id={@id}
phx-update={match?(%Phoenix.LiveView.LiveStream{}, @rows) && "stream"}
class="relative divide-y divide-zinc-100 border-zinc-200 text-sm leading-6 text-zinc-700"
class="relative divide-zinc-100 text-sm leading-6 text-zinc-700"
>
<tr :for={row <- @rows} id={@row_id && @row_id.(row)} class=" bg-white shadow-md dark:bg-gray-800 border-b dark:border-gray-600 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-700">
<tr :for={row <- @rows} id={@row_id && @row_id.(row)} class=" bg-white shadow-md dark:bg-gray-800 hover:bg-gray-100 dark:bg-gray-850 dark:hover:bg-gray-700">
<td
:for={{col, i} <- Enum.with_index(@col)}
phx-click={@row_click && @row_click.(row)}

Loading…
Cancel
Save