Skip to content

Commit

Permalink
style: Added z-10 to sample id and name columns
Browse files Browse the repository at this point in the history
  • Loading branch information
joshsadam committed Dec 19, 2024
1 parent f21976b commit 0758897
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/samples/table_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@
<%= render_cell(
tag: index.zero? ? 'th' :'td',
scope: index.zero? ? 'row' : nil,
classes: class_names('px-3 py-3', 'sticky left-0 min-w-56 max-w-56 bg-slate-50 dark:bg-slate-700': index.zero?, 'sticky left-56 bg-slate-50 dark:bg-slate-700': index == 1)
classes: class_names('px-3 py-3', 'sticky left-0 min-w-56 max-w-56 bg-slate-50 dark:bg-slate-700': index.zero?, 'z-10': index.zero?, 'sticky z-10 left-56 bg-slate-50 dark:bg-slate-700': index == 1)
) do %>
<% if index.zero? && @abilities[:select_samples] %>
<%= check_box_tag "sample_ids[]",
Expand Down

0 comments on commit 0758897

Please sign in to comment.