fit images to height (#108)

This commit is contained in:
Manchewable 2021-05-28 11:57:31 -07:00 committed by GitHub
parent 2ae5e0742e
commit aa5a1083d0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -313,10 +313,10 @@ export default function ReaderNavBar(props: IProps) {
Continues Vertical
</MenuItem>
{/* <MenuItem value="ContinuesHorizontal">
<MenuItem value="ContinuesHorizontal">
Horizontal(WIP)
</MenuItem> */}
</MenuItem>
</Select>
</ListItem>
</List>