Parcourir la source

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

#4162
合木 il y a 6 ans
Parent
commit
b9d9724ad2
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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>
     );