mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-27 01:01:48 +01:00
fit images to height (#108)
This commit is contained in:
parent
2ae5e0742e
commit
aa5a1083d0
@ -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,
|
||||
|
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user