Просмотр исходного кода

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

#4162
合木 6 лет назад
Родитель
Сommit
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>
     );