mirror of
https://github.com/we-promise/sure.git
synced 2026-04-22 05:24:11 +00:00
Mobile layout fixes (#2179)
* Consolidate safe area padding * Fix chat overflow on mobile
This commit is contained in:
@@ -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 %>
|
||||
|
||||
Reference in New Issue
Block a user