Tune Android UI scaling
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
const CACHE='ep-mail-v15';
|
||||
const CACHE='ep-mail-v16';
|
||||
const FILES=['./','./index.html','./styles.css','./branding.css','./renderer-state.js','./mail-content-security.js','./renderer-mail-api.js','./app.js','./platform-bridge-loader.js','./platform-bridge.js','./mail-ui.js','./productivity.js','./snooze-ui.js','./account-ui.js','./dav-ui.js','./shortcuts.js','./attachments.js','./pgp-ui.js','./pgp-mail-ui.js','./manifest.webmanifest','./icon.svg','./logo-ep-daylight.svg','./logo-ep-wasteland.svg'];
|
||||
self.addEventListener('install',event=>event.waitUntil(caches.open(CACHE).then(cache=>cache.addAll(FILES)).then(()=>self.skipWaiting())));
|
||||
self.addEventListener('activate',event=>event.waitUntil(caches.keys().then(keys=>Promise.all(keys.filter(k=>k!==CACHE).map(k=>caches.delete(k)))).then(()=>self.clients.claim())));
|
||||
|
||||
+25
-2
@@ -142,7 +142,7 @@ body.ep-daylight .row-check:checked{accent-color:#526a2c}
|
||||
|
||||
.reader-back{display:none;border:0;background:transparent;color:var(--accent);font-size:12px;padding:5px 8px 5px 0;white-space:nowrap}
|
||||
.mail-security-option input[type=checkbox]{flex:0 0 auto;width:17px;height:17px}
|
||||
@media(max-width:700px){
|
||||
@media(max-width:1000px),(max-height:500px) and (orientation:landscape) and (max-width:1200px){
|
||||
body{min-width:320px;min-height:100dvh;overflow:hidden}
|
||||
.app-shell{height:100dvh;min-height:0;flex-direction:column}
|
||||
.sidebar{order:0;position:relative;width:100%;height:auto;max-height:88px;padding:5px 8px 0;border-right:0;border-bottom:1px solid var(--line);overflow:hidden}
|
||||
@@ -208,4 +208,27 @@ body.ep-daylight .row-check:checked{accent-color:#526a2c}
|
||||
}
|
||||
|
||||
.sidebar{overflow-y:auto}#mail-nav{overflow-y:auto;min-height:150px;flex:0 1 auto;scrollbar-width:thin;align-content:start}#custom-folders{display:contents}.folders-head{flex:none}.sidebar>:not(#mail-nav){flex-shrink:0}.folders-head+.folder-nav{margin-top:0}
|
||||
@media(max-width:700px){.sidebar{overflow:hidden}#mail-nav{display:flex;flex-direction:row;align-items:center;height:42px;min-height:0;max-height:42px;flex:none;overflow-x:auto;overflow-y:hidden;align-content:normal}#mail-nav .folder{height:34px;align-self:center}}
|
||||
@media(max-width:1000px),(max-height:500px) and (orientation:landscape) and (max-width:1200px){
|
||||
.reader-pane{overflow-x:hidden}
|
||||
.reader-header,.reader-topline,.sender-row,.sender-details,.reader-body{min-width:0;max-width:100%}
|
||||
.reader-subject,.reader-body,.reader-body p,.reader-body li,.reader-body a,.reader-body td,.reader-body th{overflow-wrap:anywhere;word-break:break-word}
|
||||
.reader-body table{display:block;width:100%;max-width:100%;overflow-x:auto;table-layout:fixed}
|
||||
.reader-body pre,.reader-body code{max-width:100%;white-space:pre-wrap;overflow-wrap:anywhere}
|
||||
.sender-row .message-date{max-width:100%;white-space:normal;overflow-wrap:anywhere}
|
||||
.attachment{width:100%;max-width:100%;min-width:0}
|
||||
}
|
||||
@media(max-height:500px) and (orientation:landscape) and (max-width:1200px){
|
||||
.sidebar{max-height:72px;padding-top:3px}
|
||||
.account-card{height:30px;margin-bottom:2px}
|
||||
#mail-nav{height:34px;max-height:34px}
|
||||
#mail-nav .folder{height:29px;padding-block:4px}
|
||||
.rail{height:44px;gap:14px}
|
||||
.rail-button{height:36px;width:36px}
|
||||
.topbar{height:42px}
|
||||
.list-heading{padding-block:6px}
|
||||
.toolbar{height:32px}
|
||||
.message{min-height:54px}
|
||||
.list-foot{height:30px}
|
||||
.reader-pane{padding-bottom:10px}
|
||||
}
|
||||
@media(max-width:1000px),(max-height:500px) and (orientation:landscape) and (max-width:1200px){.sidebar{overflow:hidden}#mail-nav{display:flex;flex-direction:row;align-items:center;height:42px;min-height:0;max-height:42px;flex:none;overflow-x:auto;overflow-y:hidden;align-content:normal}#mail-nav .folder{height:34px;align-self:center}}
|
||||
|
||||
Reference in New Issue
Block a user