From f514bccf64588b8e8d9ab0da2770c31218cc6ca2 Mon Sep 17 00:00:00 2001 From: chenxt <10125295+chen-xintao97@user.noreply.gitee.com> Date: Mon, 2 Feb 2026 14:32:12 +0800 Subject: [PATCH] 搜索框增大 --- src/components/Common/SearchComponent/index.less | 34 +++++++++++++++++++++++++++++++++- 1 file changed, 33 insertions(+), 1 deletion(-) diff --git a/src/components/Common/SearchComponent/index.less b/src/components/Common/SearchComponent/index.less index 2a76f4a..a06d9af 100644 --- a/src/components/Common/SearchComponent/index.less +++ b/src/components/Common/SearchComponent/index.less @@ -8,15 +8,41 @@ .clear_both(); .solutionList{ width: 180px; + min-height: 50px; float: left; + :global { + .ant-select-selector { + height: 40px !important; + padding: 0 11px !important; /* 可选:调整内边距使文字垂直居中 */ + line-height: 40px !important; /* 让单行文本垂直居中 */ + } + .ant-select-selection-item{ + height: 40px !important; + line-height: 40px !important; /* 让单行文本垂直居中 */ + font-size: 18px; + } + } .clear_both(); + } .advRow { float: left; width: 600px; - height: 32px; + min-height: 50px; overflow: hidden; position: relative; + :global { + .ant-select-selector { + height: 40px !important; + padding: 0 11px !important; /* 可选:调整内边距使文字垂直居中 */ + line-height: 40px !important; /* 让单行文本垂直居中 */ + } + .ant-select-selection-item{ + height: 40px !important; + line-height: 40px !important; /* 让单行文本垂直居中 */ + font-size: 18px; + } + } .clear_both(); .filterList{ padding-left: 8px; @@ -60,6 +86,12 @@ z-index: 9; margin-bottom: 0px; padding-right: 36px; + :global{ + .ant-input-affix-wrapper{ + height: 40px !important; + line-height: 40px !important; + } + } &:first-child{ .removeBtn{ display: none; -- libgit2 0.22.2