Skip to content

An open-source, privacy-first, self-hosted knowledge workspace where humans and AI agents work together 开源、隐私优先、自托管的知识工作空间,让人与智能体在此协作

:art: database

Vanessa7859ca7c3a56
diff --git a/app/src/protyle/render/av/row.ts b/app/src/protyle/render/av/row.ts
index aa15af0d75..6ceac17ef8 100644
--- a/app/src/protyle/render/av/row.ts
+++ b/app/src/protyle/render/av/row.ts
@@ -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>";