From 75bc6e80762b8c995c7514abbaee0d651fcff855 Mon Sep 17 00:00:00 2001 From: MHSanaei Date: Sat, 6 Jun 2026 01:53:46 +0200 Subject: [PATCH] fix(inbound-form): wrap long labels and shorten RU pinned-cert label Long TLS-tab labels overflowed their field in locales with wider strings (e.g. Russian 'Pinned Peer Cert SHA-256'). Add AntD labelWrap to the inbound and outbound form modals so any over-long label wraps onto a second line instead of overflowing, and shorten the Russian pinnedPeerCertSha256 label to fit. Closes #4986 --- frontend/src/pages/inbounds/form/InboundFormModal.tsx | 1 + frontend/src/pages/xray/outbounds/OutboundFormModal.tsx | 1 + web/translation/ru-RU.json | 2 +- 3 files changed, 3 insertions(+), 1 deletion(-) diff --git a/frontend/src/pages/inbounds/form/InboundFormModal.tsx b/frontend/src/pages/inbounds/form/InboundFormModal.tsx index 99209cd6..b748558c 100644 --- a/frontend/src/pages/inbounds/form/InboundFormModal.tsx +++ b/frontend/src/pages/inbounds/form/InboundFormModal.tsx @@ -875,6 +875,7 @@ export default function InboundFormModal({ colon={false} labelCol={{ sm: { span: 8 } }} wrapperCol={{ sm: { span: 14 } }} + labelWrap onValuesChange={onValuesChange} >