summary refs log tree commit diff
path: root/static
diff options
context:
space:
mode:
authormanuroe <manu@matrix.org>2015-02-24 16:16:40 +0100
committermanuroe <manu@matrix.org>2015-02-24 16:16:40 +0100
commit1b4e3b7fa6a6ab1bdfcece1a5288acc3e5d5acbe (patch)
tree211f6c676db05a92b513b35ac99b1111754fc6a0 /static
parent%s for strings otherwise you end up sending 'u"foo"' (diff)
downloadsynapse-1b4e3b7fa6a6ab1bdfcece1a5288acc3e5d5acbe.tar.xz
Fallback registration page: added the classic viewport meta to fix the display on iPhone Safari and webview. The width of input elements also needs to be fixed.
Diffstat (limited to 'static')
-rw-r--r--static/client/register/index.html1
-rw-r--r--static/client/register/style.css6
2 files changed, 6 insertions, 1 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..6295619ec4 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;
@@ -47,6 +51,6 @@ textarea, input {
     -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
     box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.15);
     
-    background-color: #f8f8f8;
+    background-color: #fff800;
     border: 1px #ccc solid;
 }
\ No newline at end of file