diff --git a/lib/mv_web/components/core_components.ex b/lib/mv_web/components/core_components.ex index b95ba33e..ff74760d 100644 --- a/lib/mv_web/components/core_components.ex +++ b/lib/mv_web/components/core_components.ex @@ -1012,11 +1012,6 @@ defmodule MvWeb.CoreComponents do doc: "when true, first header/body column gets sticky left positioning to keep selection controls visible" - attr :sticky_second_col, :boolean, - default: false, - doc: - "when true, the second column is also pinned left (e.g. an identifier column kept visible while scrolling horizontally)" - attr :viewport_bottom, :any, default: nil, doc: @@ -1083,8 +1078,7 @@ defmodule MvWeb.CoreComponents do class={[ table_th_class(col, @sticky_header), @sticky_first_col && col_idx == 0 && - "sticky-first-col-th sticky left-0 z-30 bg-base-100", - @sticky_second_col && col_idx == 1 && "sticky left-12 z-30 bg-base-100" + "sticky-first-col-th sticky left-0 z-30 bg-base-100" ]} aria-sort={table_th_aria_sort(col, @sort_field, @sort_order)} > @@ -1160,13 +1154,6 @@ defmodule MvWeb.CoreComponents do classes end - classes = - if @sticky_second_col && col_idx == 1 do - ["sticky left-12 z-20 bg-base-100" | classes] - else - classes - end - classes = if col_class == nil || (col_class && !String.contains?(col_class, "text-center")) do ["truncate" | classes]