summary refs log tree commit diff
diff options
context:
space:
mode:
authorMatthew Hodgson <matthew@matrix.org>2014-10-28 10:03:59 +0100
committerMatthew Hodgson <matthew@matrix.org>2014-10-28 10:03:59 +0100
commit51b81b472d6b2493c58721c5c4bcac1ae896b46a (patch)
tree9596f7a0c598a2e7e651f10d6f08fc5958406162
parentFix SYWEB-110 : Prevent room ID leaking by looking for an m.room.name (diff)
downloadsynapse-51b81b472d6b2493c58721c5c4bcac1ae896b46a.tar.xz
fix mobile CSS layout
-rwxr-xr-xwebclient/app.css4
-rw-r--r--webclient/mobile.css9
2 files changed, 9 insertions, 4 deletions
diff --git a/webclient/app.css b/webclient/app.css
index bdf475d635..dc2d589c58 100755
--- a/webclient/app.css
+++ b/webclient/app.css
@@ -403,6 +403,7 @@ textarea, input {
 }
 
 .roomNameSection, .roomTopicSection {
+    text-align: right;
     float: right;
     width: 100%;
 }
@@ -412,9 +413,10 @@ textarea, input {
 }
 
 .roomHeaderInfo {
+    text-align: right;
     float: right;
     margin-top: 15px;
-    width: 50%;
+    width: 100%;
 }
 
 /*** Participant list ***/
diff --git a/webclient/mobile.css b/webclient/mobile.css
index 7c62a072d5..6fa9221ccf 100644
--- a/webclient/mobile.css
+++ b/webclient/mobile.css
@@ -65,13 +65,16 @@
     }
     
     #roomName {
-        float: left;
-        font-size: 14px ! important;
+        font-size: 12px ! important;
         margin-top: 0px ! important;
     }
+
+    .roomTopicSection {
+        display: none;
+    }
         
     #roomPage {
-        top: 35px ! important;
+        top: 40px ! important;
         left: 5px ! important;
         right: 5px ! important;
         bottom: 70px ! important;