1
0
Fork 0
mirror of https://github.com/maybe-finance/maybe.git synced 2025-07-19 21:29:38 +02:00

Fix loading notification rendering and update loading component background class

Fixes #2141
This commit is contained in:
Josh Pigford 2025-05-01 09:38:51 -05:00
parent d266b6a35e
commit 9a291edbc8
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@
<div id="cta"></div> <div id="cta"></div>
<% if Current.family&.syncing? %> <% if Current.family&.syncing? %>
<% render "shared/notifications/loading", id: "syncing-notice", message: "Syncing accounts data..." %> <%= render "shared/notifications/loading", id: "syncing-notice", message: "Syncing accounts data..." %>
<% end %> <% end %>
</div> </div>
</div> </div>

View file

@ -1,6 +1,6 @@
<%# locals: (message:, id: nil) %> <%# locals: (message:, id: nil) %>
<%= tag.div id: id, class: "flex gap-3 rounded-lg bg-container-inset p-4 group w-full md:max-w-80 shadow-border-xs" do %> <%= tag.div id: id, class: "flex gap-3 rounded-lg bg-container p-4 group w-full md:max-w-80 shadow-border-xs" do %>
<div class="h-5 w-5 shrink-0 p-px text-primary"> <div class="h-5 w-5 shrink-0 p-px text-primary">
<%= icon "loader", class: "animate-pulse" %> <%= icon "loader", class: "animate-pulse" %>
</div> </div>