This commit is contained in:
Vanessa 2023-11-20 22:46:40 +08:00
parent 686b3fc18f
commit 65fd666995
2 changed files with 2 additions and 2 deletions

View file

@ -18,7 +18,7 @@
max-height: 90vh;
overflow: auto;
box-sizing: border-box;
white-space: pre;
white-space: break-spaces;
a {
color: var(--b3-theme-secondary);

View file

@ -34,7 +34,7 @@ export const initBlockPopover = (app: App) => {
}
}
if (!tip) {
tip = aElement.getAttribute("data-href");
tip = aElement.getAttribute("data-href").substring(0, Constants.SIZE_TITLE);
const title = aElement.getAttribute("data-title");
if (title) {
tip += "<br>" + title;