From a32c6354cb9b855cf44b4202fdf828ac6afd4823 Mon Sep 17 00:00:00 2001 From: JamesChenX Date: Sat, 28 Oct 2023 13:56:23 +0800 Subject: [PATCH] Ensure form item labels can displays entirely in modals --- turms-admin/ui/src/styles/main.scss | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/turms-admin/ui/src/styles/main.scss b/turms-admin/ui/src/styles/main.scss index 39e066d51a..c433283ff3 100644 --- a/turms-admin/ui/src/styles/main.scss +++ b/turms-admin/ui/src/styles/main.scss @@ -14,6 +14,23 @@ td { align-items: center; } +.ant-form-row { + align-items: center !important; + + .ant-form-item-label { + white-space: normal !important; + + > label{ + margin-right: 8px !important; + height: unset !important; + + &::after { + content: none !important; + } + } + } +} + .ant-message-notice-content { max-width: 500px; }