mirror of
https://github.com/EthanShoeDev/fressh.git
synced 2026-01-11 06:12:51 +00:00
disable zoom
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -185,6 +185,8 @@ export function XtermJsWebView({
|
||||
<WebView
|
||||
ref={webRef}
|
||||
originWhitelist={['*']}
|
||||
scalesPageToFit={false}
|
||||
contentMode="mobile"
|
||||
source={{ html: htmlString }}
|
||||
onMessage={(e) => {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user