From 80a80850738a7ccf009a473f9ebcfa471e43d68f Mon Sep 17 00:00:00 2001 From: Paulo Valim Date: Tue, 30 Jan 2024 18:05:09 +0100 Subject: [PATCH] Improving Table Core Component (#2463) --- .../components/core_components.ex | 20 +++++++------------ 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/lib/livebook_web/components/core_components.ex b/lib/livebook_web/components/core_components.ex index 1f9e60ac0..a3f24681b 100644 --- a/lib/livebook_web/components/core_components.ex +++ b/lib/livebook_web/components/core_components.ex @@ -774,18 +774,12 @@ defmodule LivebookWeb.CoreComponents do ~H"""
- + - - @@ -793,23 +787,23 @@ defmodule LivebookWeb.CoreComponents do
+ <%= col[:label] %> + Actions
- + <%= render_slot(col, @row_item.(row)) %>
-
+
<%= render_slot(action, @row_item.(row)) %>