fix #18
This commit is contained in:
parent
76580ceded
commit
9d330ecdf8
2 changed files with 3 additions and 1 deletions
|
@ -249,7 +249,7 @@
|
||||||
const tableLeft = tableEl.getBoundingClientRect().left;
|
const tableLeft = tableEl.getBoundingClientRect().left;
|
||||||
const columnEl = this.$el.querySelector(`th.ivu-table-column-${column.__id}`);
|
const columnEl = this.$el.querySelector(`th.ivu-table-column-${column.__id}`);
|
||||||
const columnRect = columnEl.getBoundingClientRect();
|
const columnRect = columnEl.getBoundingClientRect();
|
||||||
const minLeft = columnRect.left - tableLeft + 60;
|
const minLeft = columnRect.left - tableLeft + 30;
|
||||||
|
|
||||||
table.showResizeLine = true;
|
table.showResizeLine = true;
|
||||||
|
|
||||||
|
|
|
@ -103,6 +103,8 @@
|
||||||
tr{
|
tr{
|
||||||
th{
|
th{
|
||||||
position: relative;
|
position: relative;
|
||||||
|
height: 100%;
|
||||||
|
padding: 8px 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue