@bobfrankston/rmfmail 1.2.78 → 1.2.80
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/README.md +64 -22
- package/bin/mailx.js +8 -17
- package/bin/mailx.js.map +1 -1
- package/bin/mailx.ts +8 -17
- package/client/android-bootstrap.bundle.js +15 -3
- package/client/android-bootstrap.bundle.js.map +2 -2
- package/client/app.bundle.js +2 -2
- package/client/app.bundle.js.map +2 -2
- package/client/components/message-viewer.js +9 -2
- package/client/components/message-viewer.js.map +1 -1
- package/client/components/message-viewer.ts +9 -2
- package/package.json +8 -14
- package/packages/mailx-store-web/android-bootstrap.d.ts.map +1 -1
- package/packages/mailx-store-web/android-bootstrap.js +18 -2
- package/packages/mailx-store-web/android-bootstrap.js.map +1 -1
- package/packages/mailx-store-web/android-bootstrap.ts +18 -2
- package/packages/mailx-store-web/package.json +1 -1
package/client/app.bundle.js
CHANGED
|
@@ -2393,9 +2393,9 @@ function popOutCurrentMessage() {
|
|
|
2393
2393
|
if (!currentMessage)
|
|
2394
2394
|
return;
|
|
2395
2395
|
const isAndroid = window.mailxapi?.platform === "android";
|
|
2396
|
-
const
|
|
2396
|
+
const hasMouse = !!window.matchMedia?.("(any-pointer: fine)")?.matches;
|
|
2397
2397
|
const isNarrow = window.innerWidth <= 768;
|
|
2398
|
-
if (isAndroid ||
|
|
2398
|
+
if (isAndroid || isNarrow || !hasMouse) {
|
|
2399
2399
|
document.body.classList.toggle("viewer-fullscreen");
|
|
2400
2400
|
return;
|
|
2401
2401
|
}
|