瀏覽代碼

CSS fix: MUC sidebar should expand when resized.

Also: hide text overflow with ellipsis so that the badge is visible.
JC Brand 10 月之前
父節點
當前提交
987c717958
共有 1 個文件被更改,包括 4 次插入0 次删除
  1. 4 0
      src/plugins/muc-views/styles/muc-occupants.scss

+ 4 - 0
src/plugins/muc-views/styles/muc-occupants.scss

@@ -35,6 +35,7 @@
             .occupants {
                 display: flex;
                 height: 100%;
+                width: 100%;
                 flex-direction: column;
                 justify-content: space-between;
                 overflow-y: visible;
@@ -111,9 +112,12 @@
                                 flex-wrap: nowrap;
                                 align-items: center;
                                 gap: 0.25rem;
+                                overflow-x: hidden;
 
                                 .occupant-nick {
                                     flex-grow: 2;
+                                    overflow-x: hidden;
+                                    text-overflow: ellipsis;
                                 }
 
                                 .occupant-badges {