Tune Android UI scaling

This commit is contained in:
2026-11-03 10:19:34 +02:00
parent b9d46fde1e
commit 3d5eb5517f
7 changed files with 58 additions and 10 deletions
+3 -1
View File
@@ -12,7 +12,9 @@ const mainActivity = fs.readFileSync(path.join(root, 'android', 'app', 'src', 'm
test('mobile layout removes desktop minimum width and provides a compact reader flow', () => {
assert.match(styles, /min-width:320px/);
assert.match(styles, /@media\(max-width:700px\)/);
assert.match(styles, /@media\(max-width:1000px\),\(max-height:500px\) and \(orientation:landscape\)/);
assert.match(styles, /@media\(max-height:500px\) and \(orientation:landscape\)/);
assert.match(styles, /overflow-wrap:anywhere;word-break:break-word/);
assert.match(styles, /\.hidden,\[hidden\]\{display:none!important\}/);
assert.match(styles, /body\.reader-open \.mail-layout \.list-pane/);
assert.match(app, /id="reader-back"/);