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: reposition POST badge as button

Andras Bacsai4b5c641d1b72
diff --git a/resources/views/livewire/notifications/webhook.blade.php b/resources/views/livewire/notifications/webhook.blade.php
index 451769c546..8f2dea1ac6 100644
--- a/resources/views/livewire/notifications/webhook.blade.php
+++ b/resources/views/livewire/notifications/webhook.blade.php
@@ -23,13 +23,11 @@
<div class="w-48">
<x-forms.checkbox canGate="update" :canResource="$settings" instantSave="instantSaveWebhookEnabled" id="webhookEnabled" label="Enabled" />
</div>
- <div class="flex items-start gap-2">
- <span class="px-2 py-1 text-xs font-mono font-semibold rounded bg-warning text-warning-content">POST</span>
- <div class="flex-1">
- <x-forms.input canGate="update" :canResource="$settings" type="password"
- helper="Enter a valid HTTP or HTTPS URL. Coolify will send POST requests to this endpoint when events occur."
- required id="webhookUrl" label="Webhook URL" />
- </div>
+ <div class="flex items-end gap-2">
+ <x-forms.input canGate="update" :canResource="$settings" type="password"
+ helper="Enter a valid HTTP or HTTPS URL. Coolify will send POST requests to this endpoint when events occur."
+ required id="webhookUrl" label="Webhook URL" />
+ <span class="px-3 py-2 text-sm font-mono font-semibold rounded btn btn-sm btn-warning no-animation">POST</span>
</div>
</form>
<h2 class="mt-4">Notification Settings</h2>