From 4a42338a3ece048eec6222573e86418f9718be28 Mon Sep 17 00:00:00 2001 From: Paul Bob <69730720+Paul-Bob@users.noreply.github.com> Date: Sat, 28 Dec 2024 18:12:48 +0200 Subject: [PATCH] fix: field wrapper overflow (#3559) --- app/components/avo/field_wrapper_component.html.erb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/components/avo/field_wrapper_component.html.erb b/app/components/avo/field_wrapper_component.html.erb index dbcc161cc..6993b5590 100644 --- a/app/components/avo/field_wrapper_component.html.erb +++ b/app/components/avo/field_wrapper_component.html.erb @@ -17,14 +17,14 @@ <% end %> <% if on_edit? && @field.is_required? %> * <% end %> <% end %> - <%= content_tag :div, class: class_names("flex-1 flex flex-row md:min-h-inherit px-6 overflow-x-auto", + <%= content_tag :div, class: class_names("flex-1 flex flex-row md:min-h-inherit px-6", @field.get_html(:classes, view: @view, element: :content), { "pb-4": stacked?, "py-2": !compact?, "py-1": compact?, }), data: {slot: "value"} do %> -
+
<% if on_show? %>
<% if render_dash? %>