Skip to content

Commit

Permalink
Only hide ui/table cells overflow horizontally when wrapped
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Nov 24, 2023
1 parent 472d201 commit fda43bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin/app/components/solidus_admin/ui/table/component.rb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def render_data_cell(column, data)
cell = cell.call(data) if cell.respond_to?(:call)
cell = data.public_send(cell) if cell.is_a?(Symbol)
cell = cell.render_in(self) if cell.respond_to?(:render_in)
cell = tag.div(cell, class: "flex items-center gap-1.5 justify-start overflow-hidden") if column.wrap
cell = tag.div(cell, class: "flex items-center gap-1.5 justify-start overflow-x-hidden") if column.wrap

tag.td(cell, class: "
py-2 px-4 h-10 vertical-align-middle leading-none
Expand Down

0 comments on commit fda43bc

Please sign in to comment.