1
0
jelveh 5 сар өмнө
parent
commit
ec2cb250b8

+ 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.
     // 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).
     // 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
     // GET query params provided
     window.url_query_params = new URLSearchParams(window.location.search);
     window.url_query_params = new URLSearchParams(window.location.search);