Skip to content

A platform for community discussion. Free, open, simple.

UX: fix tooltips containing multiple elements (#35915)

Krisbd135646c3e5
diff --git a/plugins/footnote/assets/stylesheets/footnotes.scss b/plugins/footnote/assets/stylesheets/footnotes.scss
index d7817257ce3..37af189e190 100644
--- a/plugins/footnote/assets/stylesheets/footnotes.scss
+++ b/plugins/footnote/assets/stylesheets/footnotes.scss
@@ -43,6 +43,10 @@
overflow-wrap: break-word;
font-size: var(--font-down-1);
+ .fk-d-tooltip__inner-content {
+ flex-direction: column;
+ }
+
.footnote-backref {
display: none;
}
@@ -55,6 +59,7 @@
p {
margin: 0;
min-width: 0;
+ max-width: 100%;
}
}