diff --git a/src/webpage/style.css b/src/webpage/style.css index d865884..b239c50 100644 --- a/src/webpage/style.css +++ b/src/webpage/style.css @@ -4401,7 +4401,7 @@ fieldset input[type="radio"] { padding: 6px; cursor: pointer; margin-top: 6px; - img { + .pfpDiv { width: 48px !important; height: 48px !important; padding: 4px !important; diff --git a/src/webpage/webhooks.ts b/src/webpage/webhooks.ts index 332c67d..578a78a 100644 --- a/src/webpage/webhooks.ts +++ b/src/webpage/webhooks.ts @@ -156,7 +156,7 @@ async function webhookMenu( form.addHTMLArea(div); } catch {} form.addButtonInput("", I18n.webhooks.deleteWebhook(), () => { - const d = new Dialog("areYouSureDelete"); + const d = new Dialog(I18n.webhooks.areYouSureDeleteHead(hook.name)); const opt = d.options; opt.addTitle(I18n.webhooks.areYouSureDelete(hook.name)); const opt2 = opt.addOptions("", {ltr: true}); diff --git a/translations/en.json b/translations/en.json index a63156b..27acb92 100644 --- a/translations/en.json +++ b/translations/en.json @@ -1038,6 +1038,7 @@ "webhooks": { "EnterWebhookName": "Enter webhook name", "areYouSureDelete": "Are you sure you want to delete $1?", + "areYouSureDeleteHead":"Delete $1?", "avatar": "Avatar", "base": "Webhooks", "channel": "Webhook outputs to channel:",