fix device table
This commit is contained in:
parent
c26e379dd7
commit
12875d7f48
1 changed files with 3 additions and 3 deletions
|
|
@ -456,9 +456,9 @@ defmodule ToweropsWeb.CoreComponents do
|
|||
:for={{col, i} <- Enum.with_index(@col)}
|
||||
phx-click={@row_click && @row_click.(row)}
|
||||
class={[
|
||||
"py-4 text-sm whitespace-nowrap",
|
||||
i == 0 && "pr-3 pl-4 font-medium text-gray-900 sm:pl-6 dark:text-white",
|
||||
i > 0 && "px-3 text-gray-500 dark:text-gray-400",
|
||||
"py-4 pr-3 pl-4 text-sm whitespace-nowrap sm:pl-6",
|
||||
i == 0 && "font-medium text-gray-900 dark:text-white",
|
||||
i > 0 && "text-gray-500 dark:text-gray-400",
|
||||
@row_click && "cursor-pointer"
|
||||
]}
|
||||
>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue