Commit b095b0bc authored by ι™ˆεΈ…'s avatar ι™ˆεΈ… Committed by ι™ˆε°θͺ

add responsive-table (#3472)

parent cca3b70d
@import '~antd/lib/style/themes/default.less';
html,
body,
#root {
......@@ -31,3 +33,20 @@ ul,
ol {
list-style: none;
}
@media (max-width: @screen-xs) {
.ant-table {
width: 100%;
overflow-x: auto;
&-thead > tr,
&-tbody > tr {
> th,
> td {
white-space: pre;
> span {
display: block;
}
}
}
}
}
......@@ -301,7 +301,6 @@ class TableList extends PureComponent {
title: 'ζœεŠ‘θ°ƒη”¨ζ¬‘ζ•°',
dataIndex: 'callNo',
sorter: true,
align: 'right',
render: val => `${val} δΈ‡`,
// mark to display a total number
needTotal: true,
......@@ -598,7 +597,7 @@ class TableList extends PureComponent {
</Col>
</Row>
<div style={{ overflow: 'hidden' }}>
<div style={{ float: 'right', marginBottom: 24 }}>
<div style={{ marginBottom: 24 }}>
<Button type="primary" htmlType="submit">
ζŸ₯θ―’
</Button>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment