mirror of
https://github.com/zadam/trilium.git
synced 2025-10-31 18:36:30 +01:00
mitigation of tooltip flicker by making tooltip smaller
This commit is contained in:
@@ -106,7 +106,6 @@ async function renderTooltip(note, attributes) {
|
||||
else if (note.type === 'image') {
|
||||
content += $("<img>")
|
||||
.prop("src", `/api/images/${note.noteId}/${note.title}`)
|
||||
.prop("style", "max-width: 300px; max-height: 300px;")
|
||||
.prop('outerHTML');
|
||||
}
|
||||
// other types of notes don't have tooltip preview
|
||||
|
||||
Reference in New Issue
Block a user