Skip to content

An open-source, self-hostable PaaS alternative to Vercel, Heroku & Netlify that lets you easily deploy static sites, databases, full-stack applications and 360+ one-click services on your own servers.

refactor(navbar-delete-team): simplify modal confirmation layout and enhance button styling for better user experience

Andras Bacsai5b9753eeb24b
diff --git a/resources/views/livewire/navbar-delete-team.blade.php b/resources/views/livewire/navbar-delete-team.blade.php
index 60b25a3d52..d0c47b874c 100644
--- a/resources/views/livewire/navbar-delete-team.blade.php
+++ b/resources/views/livewire/navbar-delete-team.blade.php
@@ -1,13 +1,6 @@
-<div>
- <x-modal-confirmation
- title="Confirm Team Deletion?"
- buttonTitle="Delete Team"
- isErrorButton
- submitAction="delete"
- :actions="['The current Team will be permanently deleted.']"
- confirmationText="{{ $team }}"
+<div class="w-full px-2">
+ <x-modal-confirmation buttonFullWidth title="Confirm Team Deletion?" buttonTitle="Delete Team" isErrorButton
+ submitAction="delete" :actions="['The current Team will be permanently deleted.']" confirmationText="{{ $team }}"
confirmationLabel="Please confirm the execution of the actions by entering the Team Name below"
- shortConfirmationLabel="Team Name"
- step3ButtonText="Permanently Delete"
- />
+ shortConfirmationLabel="Team Name" step3ButtonText="Permanently Delete" />
</div>