瀏覽代碼

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="搜索"
           enterButton="搜索"
           size="large"
           size="large"
           onSearch={this.handleFormSubmit}
           onSearch={this.handleFormSubmit}
-          style={{ width: 522 }}
+          style={{ maxWidth: 522, width: '100%' }}
         />
         />
       </div>
       </div>
     );
     );