浏览代码

fixed icons on room cards

Akira Laine 9 年之前
父节点
当前提交
be98fb375e
共有 2 个文件被更改,包括 14 次插入3 次删除
  1. 13 1
      app/client/stylesheets/app.css
  2. 1 2
      app/client/templates/home.html

+ 13 - 1
app/client/stylesheets/app.css

@@ -45,4 +45,16 @@ main {
 
 .contact-details .material-icons{
     float: left;
-}
+}
+
+.user-num{
+    font-size: 1.6em !important;
+}
+
+.card i{
+    line-height: inherit;
+}
+
+.card-content p i{
+    float: left;
+}

+ 1 - 2
app/client/templates/home.html

@@ -18,8 +18,7 @@
                             <span class="card-title activator grey-text text-darken-4">{{display}}<i
                                     class="material-icons right">more_vert</i></span>
 
-                                <p><span class="user-num">{{userNum}}</span> <i class="material-icons">perm_identity</i>
-                                </p>
+                                <p><span class="user-num">{{userNum}}</span> <i class="material-icons">perm_identity</i></p>
                             </div>
                             <div class="card-reveal">
                                 <span class="card-title grey-text text-darken-4">{{display}}<i