From fda43bce7193ccf811adf22d25b93f8e0babdaf8 Mon Sep 17 00:00:00 2001 From: Elia Schito Date: Fri, 24 Nov 2023 12:21:55 +0100 Subject: [PATCH] Only hide `ui/table` cells overflow horizontally when wrapped --- admin/app/components/solidus_admin/ui/table/component.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/admin/app/components/solidus_admin/ui/table/component.rb b/admin/app/components/solidus_admin/ui/table/component.rb index c5d9e1ab380..edc454ea995 100644 --- a/admin/app/components/solidus_admin/ui/table/component.rb +++ b/admin/app/components/solidus_admin/ui/table/component.rb @@ -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