diff --git a/webUI/react/src/components/Page.tsx b/webUI/react/src/components/Page.tsx index 58350d30..01dc57b7 100644 --- a/webUI/react/src/components/Page.tsx +++ b/webUI/react/src/components/Page.tsx @@ -25,6 +25,10 @@ const useStyles = (settings: IReaderSettings) => makeStyles({ backgroundColor: '#525252', marginBottom: 10, }, + image: { + display: 'block', + marginBottom: settings.continuesPageGap ? '15px' : 0, + }, }); interface IProps { @@ -77,6 +81,7 @@ function LazyImage(props: IProps) { return ( {`Page )} + once > makeStyles((theme: Theme) => ({ export interface IReaderSettings{ staticNav: boolean showPageNumber: boolean + continuesPageGap: boolean } export const defaultReaderSettings = () => ({ staticNav: false, showPageNumber: true, + continuesPageGap: false, } as IReaderSettings); interface IProps { @@ -279,6 +281,16 @@ export default function ReaderNavBar(props: IProps) { /> + + + + setSettingValue('continuesPageGap', e.target.checked)} + /> + +