Commit f514bccf64588b8e8d9ab0da2770c31218cc6ca2
1 parent
1fb9e7c3
搜索框增大
Showing
1 changed file
with
33 additions
and
1 deletions
src/components/Common/SearchComponent/index.less
| @@ -8,15 +8,41 @@ | @@ -8,15 +8,41 @@ | ||
| 8 | .clear_both(); | 8 | .clear_both(); |
| 9 | .solutionList{ | 9 | .solutionList{ |
| 10 | width: 180px; | 10 | width: 180px; |
| 11 | + min-height: 50px; | ||
| 11 | float: left; | 12 | float: left; |
| 13 | + :global { | ||
| 14 | + .ant-select-selector { | ||
| 15 | + height: 40px !important; | ||
| 16 | + padding: 0 11px !important; /* 可选:调整内边距使文字垂直居中 */ | ||
| 17 | + line-height: 40px !important; /* 让单行文本垂直居中 */ | ||
| 18 | + } | ||
| 19 | + .ant-select-selection-item{ | ||
| 20 | + height: 40px !important; | ||
| 21 | + line-height: 40px !important; /* 让单行文本垂直居中 */ | ||
| 22 | + font-size: 18px; | ||
| 23 | + } | ||
| 24 | + } | ||
| 12 | .clear_both(); | 25 | .clear_both(); |
| 26 | + | ||
| 13 | } | 27 | } |
| 14 | .advRow { | 28 | .advRow { |
| 15 | float: left; | 29 | float: left; |
| 16 | width: 600px; | 30 | width: 600px; |
| 17 | - height: 32px; | 31 | + min-height: 50px; |
| 18 | overflow: hidden; | 32 | overflow: hidden; |
| 19 | position: relative; | 33 | position: relative; |
| 34 | + :global { | ||
| 35 | + .ant-select-selector { | ||
| 36 | + height: 40px !important; | ||
| 37 | + padding: 0 11px !important; /* 可选:调整内边距使文字垂直居中 */ | ||
| 38 | + line-height: 40px !important; /* 让单行文本垂直居中 */ | ||
| 39 | + } | ||
| 40 | + .ant-select-selection-item{ | ||
| 41 | + height: 40px !important; | ||
| 42 | + line-height: 40px !important; /* 让单行文本垂直居中 */ | ||
| 43 | + font-size: 18px; | ||
| 44 | + } | ||
| 45 | + } | ||
| 20 | .clear_both(); | 46 | .clear_both(); |
| 21 | .filterList{ | 47 | .filterList{ |
| 22 | padding-left: 8px; | 48 | padding-left: 8px; |
| @@ -60,6 +86,12 @@ | @@ -60,6 +86,12 @@ | ||
| 60 | z-index: 9; | 86 | z-index: 9; |
| 61 | margin-bottom: 0px; | 87 | margin-bottom: 0px; |
| 62 | padding-right: 36px; | 88 | padding-right: 36px; |
| 89 | + :global{ | ||
| 90 | + .ant-input-affix-wrapper{ | ||
| 91 | + height: 40px !important; | ||
| 92 | + line-height: 40px !important; | ||
| 93 | + } | ||
| 94 | + } | ||
| 63 | &:first-child{ | 95 | &:first-child{ |
| 64 | .removeBtn{ | 96 | .removeBtn{ |
| 65 | display: none; | 97 | display: none; |