From 771d6beb18dbecc3a3723eace34fe1f121385396 Mon Sep 17 00:00:00 2001 From: schroda <50052685+schroda@users.noreply.github.com> Date: Fri, 26 Jan 2024 20:55:27 +0100 Subject: [PATCH] Add missing gap to VerticalReader mode with fit to window setting (#574) --- src/components/reader/Page.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/reader/Page.tsx b/src/components/reader/Page.tsx index cc7195dc..25954393 100644 --- a/src/components/reader/Page.tsx +++ b/src/components/reader/Page.tsx @@ -40,6 +40,7 @@ export function imageStyle(settings: IReaderSettings): any { return { marginLeft: isHorizontal ? '7px' : 0, marginRight: isHorizontal ? '7px' : 0, + marginBottom: settings.readerType === 'ContinuesVertical' ? '15px' : 0, width: 'auto', maxWidth: settings.fitPageToWindow ? 'calc(100vw - (100vw - 100%))' : undefined, height: 'auto',