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;
bottom: 0;
left: 0;

View File

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