mirror of
https://github.com/lrnselfreliance/wrolpi.git
synced 2026-11-26 09:56:17 -05:00
Reworking file preview buttons to be consistent across screens.
This commit is contained in:
parent
29133b1e56
commit
575a1b2a80
5 changed files with 89 additions and 56 deletions
|
|
@ -109,7 +109,7 @@ export function CbzViewer({path}) {
|
|||
src={pages[currentPage]}
|
||||
alt={`Page ${currentPage + 1}`}
|
||||
style={{
|
||||
maxHeight: fullscreen ? '100vh' : '75vh',
|
||||
maxHeight: fullscreen ? '100dvh' : 'calc(100dvh - 300px)',
|
||||
maxWidth: '100%',
|
||||
objectFit: 'contain',
|
||||
}}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue