fix(footnote): ignore background image in footnotes (#3998)
This commit is contained in:
@@ -136,6 +136,7 @@ const FootnotePopup: React.FC<FootnotePopupProps> = ({ bookKey, bookDoc }) => {
|
||||
const backButtonMargin = canGoBackRef.current ? 32 : 0;
|
||||
renderer.setAttribute('flow', 'scrolled');
|
||||
renderer.setAttribute('no-preload', '');
|
||||
renderer.setAttribute('no-background', '');
|
||||
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
Submodule packages/foliate-js updated: f860916a2b...af4f384b74
Reference in New Issue
Block a user