fix(footnote): add overflow-wrap to footnote popup to prevent long words from overflowing (#3479)

The change adds overflow-wrap: break-word to the footnote popup body styles, which ensures long unbreakable strings (like URLs or long words) wrap properly instead of overflowing
the popup container.
This commit is contained in:
Huang Xin
2026-03-05 17:49:28 +08:00
committed by GitHub
parent a74c1a56a9
commit 0f5bd5ca1c
+1
View File
@@ -473,6 +473,7 @@ export const getFootnoteStyles = () => `
body {
padding: 1em !important;
overflow-wrap: break-word;
}
a:any-link {