fix(client): some tooltips don't render correctly due to extra whitespace

This commit is contained in:
Elian Doran 2025-12-23 15:34:53 +02:00
parent 35034fe9df
commit 9021b119b2
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View File

@ -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 {

View File

@ -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 = <>