Skip to content

Commit a51e363

Browse files
JodhwaniMadhurMadhur
andauthored
chore: fix truncation of webhook url to avoid disappearance of Trash Icon (#4145)
* Fixed truncation of webhook url to avoid disappearance of Trash Icon * fixing webhook truncation issue #4078 * Removing overflow-hidden * resolving pipeline issues * supporting on hover url display --------- Co-authored-by: Madhur <[email protected]>
1 parent 54ee2bf commit a51e363

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

web/src/components/Settings/WebhookSection.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,9 @@ const WebhookSection = () => {
7979
{webhooks.map((webhook) => (
8080
<tr key={webhook.id}>
8181
<td className="whitespace-nowrap px-3 py-2 text-sm text-gray-900 dark:text-gray-400">{webhook.name}</td>
82-
<td className="whitespace-nowrap px-3 py-2 text-sm text-gray-900 dark:text-gray-400">{webhook.url}</td>
82+
<td className="max-w-[200px] px-3 py-2 text-sm text-gray-900 dark:text-gray-400 truncate" title={webhook.url}>
83+
{webhook.url}
84+
</td>
8385
<td className="relative whitespace-nowrap px-3 py-2 text-right text-sm">
8486
<Button
8587
variant="plain"

0 commit comments

Comments
 (0)