浏览代码

Hide the participants close button on larger screens

We need it for mobile where (eventually) we might have the participants
sidebar occupy the whole screen.
JC Brand 6 年之前
父节点
当前提交
e3468b3c41
共有 2 个文件被更改,包括 14 次插入0 次删除
  1. 4 0
      css/converse.css
  2. 10 0
      sass/_chatrooms.scss

+ 4 - 0
css/converse.css

@@ -11800,6 +11800,10 @@ body.converse-fullscreen {
 #conversejs.converse-mobile .chatroom .room-invite span .invited-contact {
 #conversejs.converse-mobile .chatroom .room-invite span .invited-contact {
   margin: 0 0 0.5em -1px; }
   margin: 0 0 0.5em -1px; }
 
 
+@media (min-width: 768px) {
+  .occupants .occupants-header .hide-occupants {
+    display: none; } }
+
 #conversejs .chatbox.headlines .chat-head.chat-head-chatbox {
 #conversejs .chatbox.headlines .chat-head.chat-head-chatbox {
   background-color: var(--headline-head-color); }
   background-color: var(--headline-head-color); }
 
 

+ 10 - 0
sass/_chatrooms.scss

@@ -494,3 +494,13 @@
         }
         }
     }
     }
 }
 }
+
+@include media-breakpoint-up(md) {
+    .occupants {
+        .occupants-header {
+            .hide-occupants {
+                display: none;
+            }
+        }
+    }
+}