fix: grid column border-bottom issue.

This commit is contained in:
Chen Lily 2024-02-23 11:01:43 +08:00
parent c21f62b7b8
commit 7940edbea2
2 changed files with 3 additions and 3 deletions

View File

@ -202,7 +202,7 @@
// } // }
} }
>em.bottom-border { >.bottom-border {
position: absolute; position: absolute;
bottom: 0; bottom: 0;
left: 0; left: 0;

View File

@ -2279,7 +2279,7 @@ export class Grid {
th.appendChild(spliter); th.appendChild(spliter);
} }
// bottom border // bottom border
th.appendChild(createElement('em', 'bottom-border')); th.appendChild(createElement('layer', 'bottom-border'));
// tooltip // tooltip
// !nullOrEmpty(col.tooltip) && setTooltip(th, col.tooltip); // !nullOrEmpty(col.tooltip) && setTooltip(th, col.tooltip);
header.appendChild(th); header.appendChild(th);
@ -2288,7 +2288,7 @@ export class Grid {
const draggerCursor = createElement('layer', 'dragger-cursor'); const draggerCursor = createElement('layer', 'dragger-cursor');
header.appendChild( header.appendChild(
createElement('th', null, createElement('th', null,
dragger, draggerCursor, createElement('div'), createElement('em', 'bottom-border'))); dragger, draggerCursor, createElement('div'), createElement('layer', 'bottom-border')));
sizer.replaceChildren(); sizer.replaceChildren();
this._var.refs.header = header; this._var.refs.header = header;