Explorar o código

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

#4162
合木 %!s(int64=6) %!d(string=hai) anos
pai
achega
b9d9724ad2
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/pages/List/List.js

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

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