🎨 database
This commit is contained in:
parent
2775a9271f
commit
f7b2966978
1 changed files with 4 additions and 1 deletions
|
@ -26,6 +26,7 @@ export const avRender = (element: Element, protyle: IProtyle, cb?: () => void, v
|
|||
if (e.getAttribute("data-render") === "true") {
|
||||
return;
|
||||
}
|
||||
const alignSelf = e.style.alignSelf;
|
||||
if (e.firstElementChild.innerHTML === "") {
|
||||
e.style.alignSelf = "";
|
||||
let html = "";
|
||||
|
@ -239,7 +240,9 @@ ${cell.color ? `color:${cell.color};` : ""}">${renderCell(cell.value)}</div>`;
|
|||
if (left) {
|
||||
e.querySelector(".av__scroll").scrollLeft = left;
|
||||
}
|
||||
|
||||
if (alignSelf) {
|
||||
e.style.alignSelf = alignSelf;
|
||||
}
|
||||
const editRect = protyle.contentElement.getBoundingClientRect();
|
||||
if (headerTransform) {
|
||||
(e.querySelector(".av__row--header") as HTMLElement).style.transform = headerTransform;
|
||||
|
|
Loading…
Add table
Reference in a new issue