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.

fix: prevent system-wide warning callout from making modal too wide

Andras Bacsaic892a8ce4419
diff --git a/resources/views/livewire/source/github/change.blade.php b/resources/views/livewire/source/github/change.blade.php
index 0758afb70d..9530ccbfd5 100644
--- a/resources/views/livewire/source/github/change.blade.php
+++ b/resources/views/livewire/source/github/change.blade.php
@@ -73,9 +73,11 @@
instantSave id="isSystemWide" />
</div>
@if ($isSystemWide)
- <x-callout type="warning" title="Not Recommended">
- 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.
- </x-callout>
+ <div class="max-w-full">
+ <x-callout type="warning" title="Not Recommended" class="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.
+ </x-callout>
+ </div>
@endif
@endif
<div class="flex flex-col sm:flex-row gap-2">
diff --git a/resources/views/livewire/source/github/create.blade.php b/resources/views/livewire/source/github/create.blade.php
index 108c243e19..361e8b520d 100644
--- a/resources/views/livewire/source/github/create.blade.php
+++ b/resources/views/livewire/source/github/create.blade.php
@@ -14,8 +14,8 @@
<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;">
- <x-callout type="warning" title="Not Recommended">
+ <div x-show="showWarning" x-transition style="display: none;" class="max-w-full">
+ <x-callout type="warning" title="Not Recommended" class="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.
</x-callout>
</div>