mirror of
https://github.com/readest/readest.git
synced 2026-05-19 16:27:13 +00:00
fix(footnote): don't preload other sections in footnotes (#3563)
This commit is contained in:
parent
fef0aa6947
commit
e4ab06abcd
2 changed files with 2 additions and 1 deletions
|
|
@ -135,6 +135,7 @@ const FootnotePopup: React.FC<FootnotePopupProps> = ({ bookKey, bookDoc }) => {
|
|||
const viewSettings = getViewSettings(bookKey)!;
|
||||
const backButtonMargin = canGoBackRef.current ? 32 : 0;
|
||||
renderer.setAttribute('flow', 'scrolled');
|
||||
renderer.setAttribute('no-preload', '');
|
||||
renderer.setAttribute('margin-top', `${viewSettings.vertical ? 0 : backButtonMargin}px`);
|
||||
renderer.setAttribute('margin-right', `${viewSettings.vertical ? backButtonMargin : 0}px`);
|
||||
renderer.setAttribute('margin-bottom', '0px');
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
Subproject commit a1cec6f622321d2c56aa5c037cd1e25053b3d735
|
||||
Subproject commit 84ff50a80049d43c505ce9dffc166f56d45e4d4b
|
||||
Loading…
Add table
Add a link
Reference in a new issue