mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions-inspector.git
synced 2024-12-27 17:21:49 +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';
|
import SpinnerImage from 'components/SpinnerImage';
|
||||||
|
|
||||||
function imageStyle(settings: IReaderSettings): CSSProperties {
|
function imageStyle(settings: IReaderSettings): CSSProperties {
|
||||||
if (settings.readerType === 'DoubleLTR' || settings.readerType === 'DoubleRTL') {
|
if (settings.readerType === 'DoubleLTR' || settings.readerType === 'DoubleRTL' || settings.readerType === 'ContinuesHorizontal') {
|
||||||
return {
|
return {
|
||||||
display: 'block',
|
display: 'block',
|
||||||
marginBottom: 0,
|
marginBottom: 0,
|
||||||
|
@ -313,10 +313,10 @@ export default function ReaderNavBar(props: IProps) {
|
|||||||
Continues Vertical
|
Continues Vertical
|
||||||
|
|
||||||
</MenuItem>
|
</MenuItem>
|
||||||
{/* <MenuItem value="ContinuesHorizontal">
|
<MenuItem value="ContinuesHorizontal">
|
||||||
Horizontal(WIP)
|
Horizontal(WIP)
|
||||||
|
|
||||||
</MenuItem> */}
|
</MenuItem>
|
||||||
</Select>
|
</Select>
|
||||||
</ListItem>
|
</ListItem>
|
||||||
</List>
|
</List>
|
||||||
|
Loading…
Reference in New Issue
Block a user