瀏覽代碼

Update initgui.js

jelveh 5 月之前
父節點
當前提交
ec2cb250b8
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/gui/src/initgui.js

+ 1 - 1
src/gui/src/initgui.js

@@ -192,7 +192,7 @@ window.initgui = async function(options){
 
     // Appends a viewport meta tag to the head of the document, ensuring optimal display on mobile devices.
     // This tag sets the width of the viewport to the device width, and locks the zoom level to 1 (prevents user scaling).
-    $('head').append(`<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no"><meta name="viewport" content="width=device-width, user-scalable=0">`);
+    $('head').append(`<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">`);
 
     // GET query params provided
     window.url_query_params = new URLSearchParams(window.location.search);