修改table的td的wordbreak样式

This commit is contained in:
huyueb 2017-11-24 10:59:12 +08:00
parent 47ea5fafaf
commit d4c15e2d2f
7 changed files with 10 additions and 15 deletions

View File

@ -18,14 +18,7 @@ const columns6 = [
key: "name"
},
{ title: "Age", width: 100, dataIndex: "age", key: "age"},
{ title: "Column 1", dataIndex: "address", key: "1" },
{ title: "Column 2", dataIndex: "address", key: "2" },
{ title: "Column 3", dataIndex: "address", key: "3" },
{ title: "Column 4", dataIndex: "address", key: "4" },
{ title: "Column 5", dataIndex: "address", key: "5" },
{ title: "Column 6", dataIndex: "address", key: "6" },
{ title: "Column 7", dataIndex: "address", key: "7" },
{ title: "Column 8", dataIndex: "address", key: "8" }
{ title: "Address", dataIndex: "address", key: "1" }
];
const data6 = [

File diff suppressed because one or more lines are too long

3
dist/demo.css vendored
View File

@ -7603,7 +7603,8 @@ ul {
.u-table tr.tr-row-hover {
background: rgb(227,242,253); }
.u-table th, .u-table td {
padding: 16px 8px; }
padding: 16px 8px;
word-break: break-all; }
.u-table-scroll {
overflow: auto; }
.u-table-header {

2
dist/demo.css.map vendored

File diff suppressed because one or more lines are too long

6
dist/demo.js vendored

File diff suppressed because one or more lines are too long

2
dist/demo.js.map vendored

File diff suppressed because one or more lines are too long

View File

@ -53,6 +53,7 @@ $table-move-in-color: $bg-color-base;
th, td {
padding: $vertical-padding $horizontal-padding;
word-break: break-all;
}