Skip to content

armgit / memos

Public Imported from GitHub
0

Memos is an open-source, self-hosted note-taking app that brings your everyday thoughts together in a personal timeline. Your data stays yours, and you choose what to keep private or share.

chore: fix truncation of webhook url to avoid disappearance of Trash Icon (#4145)

Madhur Jodhwania51e363c7ccb
diff --git a/web/src/components/Settings/WebhookSection.tsx b/web/src/components/Settings/WebhookSection.tsx
index 4b2daba65..64074ab29 100644
--- a/web/src/components/Settings/WebhookSection.tsx
+++ b/web/src/components/Settings/WebhookSection.tsx
@@ -79,7 +79,9 @@ const WebhookSection = () => {
{webhooks.map((webhook) => (
<tr key={webhook.id}>
<td className="whitespace-nowrap px-3 py-2 text-sm text-gray-900 dark:text-gray-400">{webhook.name}</td>
- <td className="whitespace-nowrap px-3 py-2 text-sm text-gray-900 dark:text-gray-400">{webhook.url}</td>
+ <td className="max-w-[200px] px-3 py-2 text-sm text-gray-900 dark:text-gray-400 truncate" title={webhook.url}>
+ {webhook.url}
+ </td>
<td className="relative whitespace-nowrap px-3 py-2 text-right text-sm">
<Button
variant="plain"