disable zoom

This commit is contained in:
EthanShoeDev
2025-09-18 00:44:56 -04:00
parent 85c5b6eb3f
commit 346f16dc17
4 changed files with 35 additions and 1 deletions

View File

@@ -2,6 +2,10 @@
<html style="margin: 0; padding: 0; width: 100vw; height: 100vh">
<head>
<meta charset="UTF-8" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"
/>
</head>
<body style="margin: 0; padding: 0; width: 100vw; height: 100vh">
<div

View File

@@ -185,6 +185,8 @@ export function XtermJsWebView({
<WebView
ref={webRef}
originWhitelist={['*']}
scalesPageToFit={false}
contentMode="mobile"
source={{ html: htmlString }}
onMessage={(e) => {
try {