Tune Android UI scaling
This commit is contained in:
@@ -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"/);
|
||||
|
||||
Reference in New Issue
Block a user