From 51b81b472d6b2493c58721c5c4bcac1ae896b46a Mon Sep 17 00:00:00 2001
From: Matthew Hodgson <matthew@matrix.org>
Date: Tue, 28 Oct 2014 10:03:59 +0100
Subject: [PATCH] fix mobile CSS layout

---
 webclient/app.css    | 4 +++-
 webclient/mobile.css | 9 ++++++---
 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;
-- 
GitLab