mirror of
https://github.com/openfrontio/OpenFrontIO.git
synced 2026-06-21 11:20:45 +00:00
Update viewport meta to contain user-scalable=no (#1666)
## Description: This PR updates the meta viewport tag in the HTML head to include user-scalable=no. This change improves the user experience on tablets, especially iPads, by disabling native browser zooming and enforcing OpenFront’s zoom behavior. This prevents inconsistencies caused by native scaling, such as icons or text appearing misaligned or in incorrect positions. ## Please complete the following: - [x] I have added screenshots for all UI updates - [x] I process any text displayed to the user through translateText() and I've added it to the en.json file - [x] I have added relevant tests to the test directory - [x] I confirm I have thoroughly tested these changes and take full responsibility for any bugs introduced - [x] I have read and accepted the CLA agreement (only required once). ## Please put your Discord username so you can be contacted if a bug or regression is found: seegurkenlp --------- Co-authored-by: evanpelle <evanpelle@gmail.com>
This commit is contained in:
@@ -2,7 +2,10 @@
|
||||
<html lang="en" class="h-full">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||
<meta
|
||||
name="viewport"
|
||||
content="width=device-width, initial-scale=1.0, user-scalable=no"
|
||||
/>
|
||||
<title>OpenFront (ALPHA)</title>
|
||||
<link rel="manifest" href="../../resources/manifest.json" />
|
||||
<link
|
||||
|
||||
Reference in New Issue
Block a user