Reworking file preview buttons to be consistent across screens.

This commit is contained in:
Roland 2026-04-15 13:18:45 -06:00
parent 29133b1e56
commit 575a1b2a80
No known key found for this signature in database
GPG key ID: 1BA620CE6C9A4680
5 changed files with 89 additions and 56 deletions

View file

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