mirror of
https://github.com/zadam/trilium.git
synced 2026-01-07 15:14:24 +01:00
fix(client): some tooltips don't render correctly due to extra whitespace
This commit is contained in:
parent
35034fe9df
commit
9021b119b2
@ -717,7 +717,6 @@ table.promoted-attributes-in-tooltip th {
|
||||
.tooltip {
|
||||
font-size: var(--main-font-size) !important;
|
||||
z-index: calc(var(--ck-z-panel) - 1) !important;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.tooltip.tooltip-top {
|
||||
|
||||
@ -32,7 +32,8 @@ export function Badge({ icon, className, text, tooltip, href, ...containerProps
|
||||
fallbackPlacements: [ "bottom" ],
|
||||
animation: false,
|
||||
html: true,
|
||||
title: tooltip
|
||||
title: tooltip,
|
||||
customClass: "pre-wrap-text"
|
||||
});
|
||||
|
||||
const content = <>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user