mirror of
https://github.com/siyuan-note/siyuan.git
synced 2026-07-03 14:09:06 +02:00
This commit is contained in:
@@ -32,7 +32,7 @@ export const initBlockPopover = (app: App) => {
|
||||
if (aElement.classList.contains("av__cell--header")) {
|
||||
const textElement = aElement.querySelector(".av__celltext");
|
||||
const desc = aElement.getAttribute("data-desc");
|
||||
if (textElement.scrollWidth > textElement.clientWidth + 2 || desc) {
|
||||
if (textElement.scrollWidth > textElement.clientWidth || desc) {
|
||||
if (desc) {
|
||||
tip = `${getCellText(aElement)}<div class='ft__on-surface'>${escapeAriaLabel(desc)}</div>`;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user