summary refs log tree commit diff
diff options
context:
space:
mode:
authorKegsay <kegsay@gmail.com>2015-02-24 15:24:53 +0000
committerKegsay <kegsay@gmail.com>2015-02-24 15:24:53 +0000
commit4390a36b6e2d780a6d239f78cea44dbcdbb4876d (patch)
tree1ab50c5048f181f9197e8858fd9621c7bd39b7f8
parent%s for strings otherwise you end up sending 'u"foo"' (diff)
parentFallback registration page: oops. Removed dev test. (diff)
downloadsynapse-4390a36b6e2d780a6d239f78cea44dbcdbb4876d.tar.xz
Merge pull request #91 from matrix-org/registration-fallback-ios-display
Fallback registration page: make the page autoresize on iPhone Safari/Webview
-rw-r--r--static/client/register/index.html1
-rw-r--r--static/client/register/style.css4
2 files changed, 5 insertions, 0 deletions
diff --git a/static/client/register/index.html b/static/client/register/index.html
index d7ed8a1fe7..8c2ed7fbdf 100644
--- a/static/client/register/index.html
+++ b/static/client/register/index.html
@@ -1,6 +1,7 @@
 <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'> 
 <link rel="stylesheet" href="style.css">
 <script src="js/jquery-2.1.3.min.js"></script>
 <script src="js/recaptcha_ajax.js"></script>
diff --git a/static/client/register/style.css b/static/client/register/style.css
index d5721c8210..a3398852b9 100644
--- a/static/client/register/style.css
+++ b/static/client/register/style.css
@@ -18,6 +18,10 @@ a:visited { color: #666; }
 a:hover   { color: #000; }
 a:active  { color: #000; }
 
+input {
+   width: 100%
+}
+
 textarea, input {
    font-family: inherit;
    font-size: inherit;