Skip to content

Commit

Permalink
fixup! add in_modal param to PanelComponent to allow better form disp…
Browse files Browse the repository at this point in the history
…lay inside modal
  • Loading branch information
sdcoffey committed Aug 28, 2023
1 parent 540a92b commit c94dc00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/components/avo/modal_component.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
data-modal-target="modal"
>
<div aria-expanded="true" class="modal-overlay absolute w-full h-full bg-opacity-25 bg-gray-800 flex justify-center items-center" data-action="click->modal#close"></div>
<div aria-expanded="true" role="dialog" aria-modal="true" class="modal-body rounded-lg inset-auto w-11/12 lg:w-1/2 sm:max-w-168 min-h-1/4 bg-white flex z-50 relative shadow-modal overflow-auto max-h-full">
<div aria-expanded="true" role="dialog" aria-modal="true" class="modal-body rounded-lg inset-auto w-11/12 lg:w-1/2 sm:max-w-168 min-h-1/4 bg-white flex z-50 relative shadow-modal overflow-auto max-h-[80vh]">
<div class="flex-1 flex flex-col justify-between">
<div>
<div class="p-6 text-2xl tracking-normal font-semibold text-black">
Expand Down

0 comments on commit c94dc00

Please sign in to comment.