소스 검색

fix(List): width of search input overflow in mobile mode (#4164)

#4162
合木 7 년 전
부모
커밋
b9d9724ad2
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/pages/List/List.js

+ 1 - 1
src/pages/List/List.js

@@ -51,7 +51,7 @@ class SearchList extends Component {
           enterButton="搜索"
           size="large"
           onSearch={this.handleFormSubmit}
-          style={{ width: 522 }}
+          style={{ maxWidth: 522, width: '100%' }}
         />
       </div>
     );