fix: display hidden footnotes, closes #1847 (#1907)

This commit is contained in:
Huang Xin
2025-08-26 18:45:12 +08:00
committed by GitHub
parent 48212d892f
commit 3ea54e6725
4 changed files with 28 additions and 2 deletions
+13
View File
@@ -363,6 +363,19 @@ export const getFootnoteStyles = () => `
margin: unset !important;
text-indent: unset !important;
}
div {
margin: unset !important;
padding: unset !important;
}
.epubtype-footnote,
aside[epub|type~="endnote"],
aside[epub|type~="footnote"],
aside[epub|type~="note"],
aside[epub|type~="rearnote"] {
display: block;
}
`;
const getTranslationStyles = (showSource: boolean) => `