Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[admin] dark mode #5511

Merged
merged 9 commits into from
Nov 15, 2023
Prev Previous commit
Next Next commit
Let clicks go through the ui/toast component container
Otherwise the transparent element would have captured some of them.
  • Loading branch information
elia committed Nov 15, 2023
commit 9296111cc1249396f036399bb4c73f06552270b5
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
</main>
</div>

<div class="fixed inset-x-0 bottom-3 flex items-center justify-center flex-col gap-3" role="alert">
<div class="fixed inset-x-0 bottom-3 flex items-center justify-center flex-col gap-3 pointer-events-none" role="alert">
<% flash.each do |key, message| %>
<%= render component("ui/toast").new(text: message, scheme: key == :error ? :error : :default) %>
<% end %>
Expand Down