@bobfrankston/rmfmail 1.1.159 → 1.1.160
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/client/app.bundle.js +3 -1
- package/client/app.bundle.js.map +2 -2
- package/client/components/message-viewer.js +11 -1
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +11 -1
- package/package.json +1 -1
- /package/packages/mailx-imap/{node_modules.npmglobalize-stash-80408 → node_modules.npmglobalize-stash-55716}/.package-lock.json +0 -0
package/client/app.bundle.js
CHANGED
|
@@ -2127,8 +2127,10 @@ ${csp}
|
|
|
2127
2127
|
function popOutCurrentMessage() {
|
|
2128
2128
|
if (!currentMessage)
|
|
2129
2129
|
return;
|
|
2130
|
+
const isAndroid = window.mailxapi?.platform === "android";
|
|
2131
|
+
const isCoarse = !!window.matchMedia?.("(pointer: coarse)")?.matches;
|
|
2130
2132
|
const isNarrow = window.innerWidth <= 768;
|
|
2131
|
-
if (isNarrow) {
|
|
2133
|
+
if (isAndroid || isCoarse || isNarrow) {
|
|
2132
2134
|
document.body.classList.toggle("viewer-fullscreen");
|
|
2133
2135
|
return;
|
|
2134
2136
|
}
|