fix: center system-wide warning callout in modal

Added mx-auto to center the callout horizontally within the modal.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
Andras Bacsai 2025-10-25 11:19:52 +02:00
parent 2f2ab6d775
commit fc285625c2
2 changed files with 2 additions and 2 deletions

View file

@ -73,7 +73,7 @@ class="bg-transparent border-transparent hover:bg-transparent hover:border-trans
instantSave id="isSystemWide" />
</div>
@if ($isSystemWide)
<div class="w-full max-w-2xl">
<div class="w-full max-w-2xl mx-auto">
<x-callout type="warning" title="Not Recommended">
<div class="whitespace-normal break-words">
System-wide GitHub Apps are shared across all teams on this Coolify instance. This means any team can use this GitHub App to deploy applications from your repositories. For better security and isolation, it's recommended to create team-specific GitHub Apps instead.

View file

@ -14,7 +14,7 @@
<x-forms.checkbox id="is_system_wide" label="System Wide"
helper="If checked, this GitHub App will be available for everyone in this Coolify instance." />
</div>
<div x-show="showWarning" x-transition style="display: none;" class="w-full max-w-2xl">
<div x-show="showWarning" x-transition style="display: none;" class="w-full max-w-2xl mx-auto">
<x-callout type="warning" title="Not Recommended">
<div class="whitespace-normal break-words">
System-wide GitHub Apps are shared across all teams on this Coolify instance. This means any team can use this GitHub App to deploy applications from your repositories. For better security and isolation, it's recommended to create team-specific GitHub Apps instead.