Skip to content

Commit

Permalink
fix: field wrapper overflow (#3559)
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul-Bob authored Dec 28, 2024
1 parent ae9074b commit 4a42338
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/components/avo/field_wrapper_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@
<% end %>
<% if on_edit? && @field.is_required? %> <span class="text-red-600 ml-1">*</span> <% 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 %>
<div class="self-center w-full break-words <% unless full_width? || compact? || stacked? %> md:w-8/12 has-sidebar:w-full <% end %>">
<div class="self-center w-full <% unless full_width? || compact? || stacked? %> md:w-8/12 has-sidebar:w-full <% end %>">
<% if on_show? %>
<div class="flex flex-row items-center group gap-x-1">
<% if render_dash? %>
Expand Down

0 comments on commit 4a42338

Please sign in to comment.