Mobile layout fixes (#2179)

* Consolidate safe area padding

* Fix chat overflow on mobile
This commit is contained in:
Zach Gollwitzer
2025-04-30 22:24:13 -04:00
committed by GitHub
parent 23adfb2ef0
commit d8cf35eca7
13 changed files with 39 additions and 35 deletions

View File

@@ -136,7 +136,13 @@
variant: "destructive",
href: reset_user_path(@user),
method: :delete,
confirm: CustomConfirm.for_resource_deletion("Account", high_severity: true)
confirm: CustomConfirm.new(
title: "Reset account?",
body: "This will delete all data associated with your account. Your user profile will remain active.",
btn_text: "Reset account",
destructive: true,
high_severity: true
)
) %>
</div>
<% end %>