fix scale on mobile

This commit is contained in:
marlon-erler
2024-07-13 12:16:35 +02:00
parent 756c54b6d2
commit eff75660b5
2 changed files with 3 additions and 1 deletions
+1
View File
@@ -153,6 +153,7 @@ export const senderName = React.restoreState("sender-name", "");
export const pageZoom = React.restoreState("page-zoom", 100);
pageZoom.subscribe(() => {
document.body.style.zoom = `${pageZoom.value}%`;
document.body.style.webkitTextSizeAdjust = `${pageZoom.value}%`;
});
export function toggleSettings() {