mirror of
https://github.com/zadam/trilium.git
synced 2025-03-01 14:22:32 +01:00
Merge remote-tracking branch 'origin/stable'
This commit is contained in:
commit
f6ebc76917
@ -63,6 +63,7 @@ async function mouseEnterHandler() {
|
|||||||
placement: 'auto',
|
placement: 'auto',
|
||||||
trigger: 'manual',
|
trigger: 'manual',
|
||||||
boundary: 'window',
|
boundary: 'window',
|
||||||
|
offset: "0, 20", // workaround for https://github.com/zadam/trilium/issues/2794
|
||||||
title: html,
|
title: html,
|
||||||
html: true,
|
html: true,
|
||||||
template: '<div class="tooltip note-tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',
|
template: '<div class="tooltip note-tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',
|
||||||
|
@ -379,6 +379,10 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
|
|||||||
font-size: var(--main-font-size) !important;
|
font-size: var(--main-font-size) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.tooltip .arrow {
|
||||||
|
display: none;
|
||||||
|
}
|
||||||
|
|
||||||
.tooltip-inner {
|
.tooltip-inner {
|
||||||
padding: 15px;
|
padding: 15px;
|
||||||
background-color: var(--tooltip-background-color) !important;
|
background-color: var(--tooltip-background-color) !important;
|
||||||
|
@ -6,6 +6,10 @@ const becca = require('../becca/becca');
|
|||||||
const Attribute = require('../becca/entities/attribute');
|
const Attribute = require('../becca/entities/attribute');
|
||||||
|
|
||||||
function runAttachedRelations(note, relationName, originEntity) {
|
function runAttachedRelations(note, relationName, originEntity) {
|
||||||
|
if (!note) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// same script note can get here with multiple ways, but execute only once
|
// same script note can get here with multiple ways, but execute only once
|
||||||
const notesToRun = new Set(
|
const notesToRun = new Set(
|
||||||
note.getRelations(relationName)
|
note.getRelations(relationName)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user