mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
workaround for wrongly placed tooltip, closes #2794
This commit is contained in:
parent
51e5f591b2
commit
73425ec29d
@ -63,6 +63,7 @@ async function mouseEnterHandler() {
|
||||
placement: 'auto',
|
||||
trigger: 'manual',
|
||||
boundary: 'window',
|
||||
offset: "0, 20", // workaround for https://github.com/zadam/trilium/issues/2794
|
||||
title: html,
|
||||
html: true,
|
||||
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;
|
||||
}
|
||||
|
||||
.tooltip .arrow {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
padding: 15px;
|
||||
background-color: var(--tooltip-background-color) !important;
|
||||
|
Loading…
x
Reference in New Issue
Block a user