Skip to content

Commit 4a42338

Browse files
authored
fix: field wrapper overflow (#3559)
1 parent ae9074b commit 4a42338

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/components/avo/field_wrapper_component.html.erb

+2-2
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@
1717
<% end %>
1818
<% if on_edit? && @field.is_required? %> <span class="text-red-600 ml-1">*</span> <% end %>
1919
<% end %>
20-
<%= content_tag :div, class: class_names("flex-1 flex flex-row md:min-h-inherit px-6 overflow-x-auto",
20+
<%= content_tag :div, class: class_names("flex-1 flex flex-row md:min-h-inherit px-6",
2121
@field.get_html(:classes, view: @view, element: :content),
2222
{
2323
"pb-4": stacked?,
2424
"py-2": !compact?,
2525
"py-1": compact?,
2626
}), data: {slot: "value"} do %>
27-
<div class="self-center w-full break-words <% unless full_width? || compact? || stacked? %> md:w-8/12 has-sidebar:w-full <% end %>">
27+
<div class="self-center w-full <% unless full_width? || compact? || stacked? %> md:w-8/12 has-sidebar:w-full <% end %>">
2828
<% if on_show? %>
2929
<div class="flex flex-row items-center group gap-x-1">
3030
<% if render_dash? %>

0 commit comments

Comments
 (0)