소스 검색

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 {