Skip to content

Commit 07a7b5e

Browse files
committed
fix: large actions on mobile
1 parent 50a345d commit 07a7b5e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

app/components/avo/modal_component.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def width_classes
1919
end
2020

2121
def height_classes
22-
"max-h-full min-h-1/4 max-h-11/12"
22+
"max-h-[calc(100dvh-5rem)] min-h-1/4"
2323
end
2424

2525
def overflow_classes

spec/dummy/config/environments/development.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,4 +80,6 @@
8080
config.hotwire_livereload.listen_paths << Avo::Engine.root.join("app/javascript")
8181
config.hotwire_livereload.listen_paths << Avo::Engine.root.join("app/views")
8282
config.hotwire_livereload.listen_paths << Avo::Engine.root.join("lib")
83+
84+
config.hosts << '.ngrok-free.app'
8385
end

0 commit comments

Comments
 (0)