mirror of
https://github.com/maybe-finance/maybe.git
synced 2025-07-25 08:09:38 +02:00
* Implement inline category selection * Add turbo frame to refresh updated transaction * Improve styles * Fix category assignment * Reorganize code * Revert event propagation * Remove unused frames * Make only the transaction name clickable * Add custom scrollbar class
14 lines
No EOL
614 B
Text
14 lines
No EOL
614 B
Text
<%= turbo_frame_tag "modal" do %>
|
|
<dialog class="bg-white border border-alpha-black-25 rounded-2xl max-h-[calc(100vh-32px)] max-w-[480px] w-full shadow-xs h-full mt-4 mr-4" data-controller="modal" data-action="click->modal#clickOutside">
|
|
<div class="flex flex-col h-full p-4">
|
|
<div class="flex justify-end items-center h-9">
|
|
<div data-action="click->modal#close" class="cursor-pointer">
|
|
<%= lucide_icon("x", class: "w-5 h-5 shrink-0") %>
|
|
</div>
|
|
</div>
|
|
<div class="flex flex-col overflow-scroll">
|
|
<%= content %>
|
|
</div>
|
|
</div>
|
|
</dialog>
|
|
<% end %> |