Skip to content

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

UX: fix footnote causing horizontal scroll on narrow screens (#29328)

chapoif8b0c33567fc
diff --git a/plugins/footnote/assets/stylesheets/footnotes.scss b/plugins/footnote/assets/stylesheets/footnotes.scss
index b3956b09c6e..57e98c403c1 100644
--- a/plugins/footnote/assets/stylesheets/footnotes.scss
+++ b/plugins/footnote/assets/stylesheets/footnotes.scss
@@ -48,6 +48,7 @@
z-index: z("modal", "tooltip");
max-width: 400px;
overflow-wrap: break-word;
+ box-sizing: border-box;
.mobile-view & {
// tooltips are positioned 5px from the left