Skip to content

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

:art: 数据库改进

Vanessa7d8f8d3a5691
diff --git a/app/src/block/popover.ts b/app/src/block/popover.ts
index cc7abd45b7..c0de08dcee 100644
--- a/app/src/block/popover.ts
+++ b/app/src/block/popover.ts
@@ -23,7 +23,7 @@ export const initBlockPopover = (app: App) => {
if (aElement) {
let tip = aElement.getAttribute("aria-label") || aElement.getAttribute("data-inline-memo-content");
if (aElement.classList.contains("av__celltext")) {
- if (aElement.offsetWidth > aElement.parentElement.clientWidth - (aElement.classList.contains("fn__flex-shrink") ? 19 : 5)) { // 只能减左边 padding,换行时字体会穿透到右侧 padding
+ if (aElement.offsetWidth > aElement.parentElement.clientWidth - (aElement.classList.contains("fn__flex-shrink") ? 24 : 5)) { // 只能减左边 padding,换行时字体会穿透到右侧 padding
if (aElement.querySelector(".av__cellicon")) {
tip = `${aElement.firstChild.textContent} → ${aElement.lastChild.textContent}`;
} else {