From aa5a1083d0ebe5e926919c2a1463434d4b55e7a0 Mon Sep 17 00:00:00 2001 From: Manchewable <35658388+Manchewable@users.noreply.github.com> Date: Fri, 28 May 2021 11:57:31 -0700 Subject: [PATCH] fit images to height (#108) --- webUI/react/src/components/manga/reader/Page.tsx | 2 +- webUI/react/src/components/navbar/ReaderNavBar.tsx | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/webUI/react/src/components/manga/reader/Page.tsx b/webUI/react/src/components/manga/reader/Page.tsx index 21ee231..88ac5b4 100644 --- a/webUI/react/src/components/manga/reader/Page.tsx +++ b/webUI/react/src/components/manga/reader/Page.tsx @@ -11,7 +11,7 @@ import React, { useEffect, useRef } from 'react'; import SpinnerImage from 'components/SpinnerImage'; function imageStyle(settings: IReaderSettings): CSSProperties { - if (settings.readerType === 'DoubleLTR' || settings.readerType === 'DoubleRTL') { + if (settings.readerType === 'DoubleLTR' || settings.readerType === 'DoubleRTL' || settings.readerType === 'ContinuesHorizontal') { return { display: 'block', marginBottom: 0, diff --git a/webUI/react/src/components/navbar/ReaderNavBar.tsx b/webUI/react/src/components/navbar/ReaderNavBar.tsx index 2976e22..ac18e57 100644 --- a/webUI/react/src/components/navbar/ReaderNavBar.tsx +++ b/webUI/react/src/components/navbar/ReaderNavBar.tsx @@ -313,10 +313,10 @@ export default function ReaderNavBar(props: IProps) { Continues Vertical - {/* + Horizontal(WIP) - */} +