Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 63c2864

Browse files
committed
truncate room name in invitation dialog to two lines
Signed-off-by: nurjinn jafar <nurjin.jafar@nordeck.net>
1 parent 99372a6 commit 63c2864

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

res/css/views/rooms/_RoomPreviewBar.pcss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,14 @@ limitations under the License.
146146
justify-content: flex-start;
147147
}
148148

149+
.mx_RoomPreviewBar_Invite h3 {
150+
display: -webkit-box;
151+
-webkit-line-clamp: 2;
152+
-webkit-box-orient: vertical;
153+
white-space: pre-wrap;
154+
overflow: hidden;
155+
}
156+
149157
.mx_RoomPreviewBar_inviter {
150158
font-weight: var(--cpd-font-weight-semibold);
151159
}

0 commit comments

Comments
 (0)