diff options
author | Germain <germain@souquet.com> | 2022-08-11 14:04:20 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-11 14:04:20 +0100 |
commit | 4390121684cc1ea37b631716289896292b0ee1ec (patch) | |
tree | a232655d92ed66c6fd05ae872fc9768071f995c2 /synapse/static | |
parent | Merge branch 'release-v1.65' into develop (diff) | |
download | synapse-4390121684cc1ea37b631716289896292b0ee1ec.tar.xz |
Add viewport directive to HTML templates to optimise for mobile (#13493)
Diffstat (limited to 'synapse/static')
-rw-r--r-- | synapse/static/client/login/index.html | 3 | ||||
-rw-r--r-- | synapse/static/client/register/index.html | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/synapse/static/client/login/index.html b/synapse/static/client/login/index.html index 9e6daf38ac..40510889ac 100644 --- a/synapse/static/client/login/index.html +++ b/synapse/static/client/login/index.html @@ -3,7 +3,8 @@ <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title> Login </title> - <meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0'> + <meta http-equiv="X-UA-Compatible" content="IE=edge"> + <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="style.css"> <script src="js/jquery-3.4.1.min.js"></script> <script src="js/login.js"></script> diff --git a/synapse/static/client/register/index.html b/synapse/static/client/register/index.html index 140653574d..27bbd76f51 100644 --- a/synapse/static/client/register/index.html +++ b/synapse/static/client/register/index.html @@ -2,7 +2,8 @@ <html> <head> <title> Registration </title> -<meta name='viewport' content='width=device-width, initial-scale=1, user-scalable=no, minimum-scale=1.0, maximum-scale=1.0'> +<meta http-equiv="X-UA-Compatible" content="IE=edge"> +<meta name="viewport" content="width=device-width, initial-scale=1.0"> <link rel="stylesheet" href="style.css"> <script src="js/jquery-3.4.1.min.js"></script> <script src="https://www.recaptcha.net/recaptcha/api/js/recaptcha_ajax.js"></script> |