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 | 8 | .clear_both(); |
| 9 | 9 | .solutionList{ |
| 10 | 10 | width: 180px; |
| 11 | + min-height: 50px; | |
| 11 | 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 | 25 | .clear_both(); |
| 26 | + | |
| 13 | 27 | } |
| 14 | 28 | .advRow { |
| 15 | 29 | float: left; |
| 16 | 30 | width: 600px; |
| 17 | - height: 32px; | |
| 31 | + min-height: 50px; | |
| 18 | 32 | overflow: hidden; |
| 19 | 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 | 46 | .clear_both(); |
| 21 | 47 | .filterList{ |
| 22 | 48 | padding-left: 8px; |
| ... | ... | @@ -60,6 +86,12 @@ |
| 60 | 86 | z-index: 9; |
| 61 | 87 | margin-bottom: 0px; |
| 62 | 88 | padding-right: 36px; |
| 89 | + :global{ | |
| 90 | + .ant-input-affix-wrapper{ | |
| 91 | + height: 40px !important; | |
| 92 | + line-height: 40px !important; | |
| 93 | + } | |
| 94 | + } | |
| 63 | 95 | &:first-child{ |
| 64 | 96 | .removeBtn{ |
| 65 | 97 | display: none; | ... | ... |