mirror of
https://github.com/documenso/documenso.git
synced 2025-11-13 08:13:56 +10:00
chore: fixed UI
This commit is contained in:
@ -53,12 +53,14 @@ export default function WebhookPage() {
|
|||||||
!webhook.enabled && 'bg-muted/40',
|
!webhook.enabled && 'bg-muted/40',
|
||||||
)}
|
)}
|
||||||
>
|
>
|
||||||
<div className="flex items-center justify-between gap-x-4">
|
<div className="flex flex-col gap-x-4 sm:flex-row sm:items-center sm:justify-between">
|
||||||
<div>
|
<div>
|
||||||
<div className="truncate font-mono text-xs">{webhook.id}</div>
|
<div className="truncate font-mono text-xs">{webhook.id}</div>
|
||||||
|
|
||||||
<div className="mt-1.5 flex items-center gap-2">
|
<div className="mt-1.5 flex items-center gap-4">
|
||||||
<h5 className="text-sm">{webhook.webhookUrl}</h5>
|
<h5 className="max-w-[30rem] truncate text-sm sm:max-w-[18rem]">
|
||||||
|
{webhook.webhookUrl}
|
||||||
|
</h5>
|
||||||
|
|
||||||
<Badge variant={webhook.enabled ? 'neutral' : 'warning'} size="small">
|
<Badge variant={webhook.enabled ? 'neutral' : 'warning'} size="small">
|
||||||
{webhook.enabled ? 'Enabled' : 'Disabled'}
|
{webhook.enabled ? 'Enabled' : 'Disabled'}
|
||||||
@ -78,7 +80,7 @@ export default function WebhookPage() {
|
|||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div className="flex flex-shrink-0 gap-4">
|
<div className="mt-4 flex flex-shrink-0 gap-4 sm:mt-0">
|
||||||
<Button asChild variant="outline">
|
<Button asChild variant="outline">
|
||||||
<Link href={`/settings/webhooks/${webhook.id}`}>Edit</Link>
|
<Link href={`/settings/webhooks/${webhook.id}`}>Edit</Link>
|
||||||
</Button>
|
</Button>
|
||||||
|
|||||||
Reference in New Issue
Block a user