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;