mirror of
https://github.com/zadam/trilium.git
synced 2025-02-25 07:25:32 +08:00
mitigations for tooltip flickering
This commit is contained in:
parent
92ffe321aa
commit
dbc93f4a79
2 changed files with 6 additions and 1 deletions
|
@ -44,7 +44,7 @@ function setupTooltip() {
|
|||
container: 'body',
|
||||
placement: 'auto',
|
||||
trigger: 'manual',
|
||||
boundariesElement: 'window',
|
||||
boundary: 'window',
|
||||
title: html,
|
||||
html: true
|
||||
});
|
||||
|
|
|
@ -545,6 +545,11 @@ table.promoted-attributes-in-tooltip td, table.promoted-attributes-in-tooltip th
|
|||
overflow-y: auto;
|
||||
}
|
||||
|
||||
/* this should help with tooltip flickering */
|
||||
.tooltip {
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.tooltip-inner {
|
||||
background-color: #fbfbfb !important;
|
||||
max-width: 400px;
|
||||
|
|
Loading…
Reference in a new issue