From 09c56b2c0738065fa25b49619f3c75c2121bbec5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=84=E7=84=B1?= Date: Wed, 5 Jun 2024 17:35:07 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BE=E7=BD=AE=E8=A1=A8=E5=8D=95=E9=A1=B5?= =?UTF-8?q?=E9=9D=A2label=E6=96=87=E6=9C=AC=E4=B8=8D=E6=8D=A2=E8=A1=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- jikimo_frontend/static/src/scss/custom_style.scss | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jikimo_frontend/static/src/scss/custom_style.scss b/jikimo_frontend/static/src/scss/custom_style.scss index e199a938..7f11b5f5 100644 --- a/jikimo_frontend/static/src/scss/custom_style.scss +++ b/jikimo_frontend/static/src/scss/custom_style.scss @@ -521,4 +521,9 @@ div:has(.o_required_modifier) > label::before { .o_list_renderer.o_renderer { max-width: 100%; overflow-x: auto; +} + +// 设置表单页面label文本不换行 +.o_form_view .o_group .o_wrap_label .o_form_label { + white-space: nowrap; } \ No newline at end of file