🎨 database

This commit is contained in:
Vanessa 2024-03-10 23:16:47 +08:00
parent d59d4afa51
commit 7859ca7c3a

View file

@ -109,7 +109,7 @@ export const insertAttrViewBlockAnimation = (protyle: IProtyle, blockElement: El
}
previousElement.querySelectorAll(".av__cell").forEach((item: HTMLElement, index) => {
colHTML += `<div class="av__cell" data-col-id="${item.dataset.colId}"
style="width: ${item.style.width};text-align: ${item.style.textAlign}"
style="width: ${item.style.width};${item.dataset.dtype === "number" ? "text-align: right;" : ""}"
${(item.getAttribute("data-block-id") || item.dataset.dtype === "block") ? ' data-detached="true"' : ""}><span class="${avId ? "av__celltext" : "av__pulse"}"></span></div>`;
if (pinIndex === index) {
colHTML += "</div>";