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 1/2] 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 dbcc161cc0..6993b55909 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? %> From 3f9f33f01d7c19428a7565f1c891150f0d7f4a66 Mon Sep 17 00:00:00 2001 From: Paul Bob Date: Sat, 28 Dec 2024 18:20:57 +0200 Subject: [PATCH 2/2] Bumped avo to 3.15.7 --- Gemfile.lock | 2 +- gemfiles/rails_6.1_ruby_3.1.4.gemfile.lock | 2 +- gemfiles/rails_6.1_ruby_3.3.0.gemfile.lock | 2 +- gemfiles/rails_7.1_ruby_3.1.4.gemfile.lock | 2 +- gemfiles/rails_7.1_ruby_3.3.0.gemfile.lock | 2 +- gemfiles/rails_8.0_ruby_3.3.0.gemfile.lock | 2 +- lib/avo/version.rb | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 72837a7fd7..2acb19f0a0 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - avo (3.15.6) + avo (3.15.7) actionview (>= 6.1) active_link_to activerecord (>= 6.1) diff --git a/gemfiles/rails_6.1_ruby_3.1.4.gemfile.lock b/gemfiles/rails_6.1_ruby_3.1.4.gemfile.lock index 41d209c2d1..c217a41330 100644 --- a/gemfiles/rails_6.1_ruby_3.1.4.gemfile.lock +++ b/gemfiles/rails_6.1_ruby_3.1.4.gemfile.lock @@ -6,7 +6,7 @@ PATH PATH remote: .. specs: - avo (3.15.6) + avo (3.15.7) actionview (>= 6.1) active_link_to activerecord (>= 6.1) diff --git a/gemfiles/rails_6.1_ruby_3.3.0.gemfile.lock b/gemfiles/rails_6.1_ruby_3.3.0.gemfile.lock index b217f9feaa..c437ed315b 100644 --- a/gemfiles/rails_6.1_ruby_3.3.0.gemfile.lock +++ b/gemfiles/rails_6.1_ruby_3.3.0.gemfile.lock @@ -6,7 +6,7 @@ PATH PATH remote: .. specs: - avo (3.15.6) + avo (3.15.7) actionview (>= 6.1) active_link_to activerecord (>= 6.1) diff --git a/gemfiles/rails_7.1_ruby_3.1.4.gemfile.lock b/gemfiles/rails_7.1_ruby_3.1.4.gemfile.lock index 7134a017d1..efaab471b8 100644 --- a/gemfiles/rails_7.1_ruby_3.1.4.gemfile.lock +++ b/gemfiles/rails_7.1_ruby_3.1.4.gemfile.lock @@ -6,7 +6,7 @@ PATH PATH remote: .. specs: - avo (3.15.6) + avo (3.15.7) actionview (>= 6.1) active_link_to activerecord (>= 6.1) diff --git a/gemfiles/rails_7.1_ruby_3.3.0.gemfile.lock b/gemfiles/rails_7.1_ruby_3.3.0.gemfile.lock index ef65c52e37..f1762aebe1 100644 --- a/gemfiles/rails_7.1_ruby_3.3.0.gemfile.lock +++ b/gemfiles/rails_7.1_ruby_3.3.0.gemfile.lock @@ -6,7 +6,7 @@ PATH PATH remote: .. specs: - avo (3.15.6) + avo (3.15.7) actionview (>= 6.1) active_link_to activerecord (>= 6.1) diff --git a/gemfiles/rails_8.0_ruby_3.3.0.gemfile.lock b/gemfiles/rails_8.0_ruby_3.3.0.gemfile.lock index 8c96cf5976..edfbdb808a 100644 --- a/gemfiles/rails_8.0_ruby_3.3.0.gemfile.lock +++ b/gemfiles/rails_8.0_ruby_3.3.0.gemfile.lock @@ -6,7 +6,7 @@ PATH PATH remote: .. specs: - avo (3.15.6) + avo (3.15.7) actionview (>= 6.1) active_link_to activerecord (>= 6.1) diff --git a/lib/avo/version.rb b/lib/avo/version.rb index 60b018eeb2..bafeb9a52f 100644 --- a/lib/avo/version.rb +++ b/lib/avo/version.rb @@ -1,3 +1,3 @@ module Avo - VERSION = "3.15.6" unless const_defined?(:VERSION) + VERSION = "3.15.7" unless const_defined?(:VERSION) end