From a8dcc6e49fd4fa85e9ec19e49f7f3206e2c5a74b Mon Sep 17 00:00:00 2001 From: Daniel Kao Date: Sat, 30 Nov 2024 23:53:12 +0800 Subject: [PATCH] fix: vertical mode, image ratio, body height --- app/src/main/assets/verticalReaderview.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/src/main/assets/verticalReaderview.css b/app/src/main/assets/verticalReaderview.css index c821932f..1ad678ad 100644 --- a/app/src/main/assets/verticalReaderview.css +++ b/app/src/main/assets/verticalReaderview.css @@ -7,6 +7,8 @@ padding: 10px; background-color: #ffffff !important; color: #000000 !important; + box-sizing: border-box; + height: 100vh; } .mozac-readerview-body * { @@ -202,6 +204,7 @@ margin-left: auto; margin-right: auto; max-width: 300px !important; + height: auto !important; } /* Account for body padding to make image full width */ @@ -210,6 +213,7 @@ margin-left: -20px; margin-right: -20px; max-width: 300px !important; + height: auto !important; } /* Image caption text */