Skip to content

Build your personal knowledge base with Trilium Notes

feat(layout): preserve newlines in tooltips

Elian Doran90a7217b32e2
diff --git a/apps/client/src/stylesheets/style.css b/apps/client/src/stylesheets/style.css
index a7a13f2882..24b9275fd5 100644
--- a/apps/client/src/stylesheets/style.css
+++ b/apps/client/src/stylesheets/style.css
@@ -717,6 +717,7 @@ 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 {