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

Commit 0e43f3c

Browse files
authored
Wrap long space names (#9201)
1 parent 27a7263 commit 0e43f3c

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

res/css/structures/_SpacePanel.pcss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,11 +379,16 @@ $activeBorderColor: $primary-content;
379379
}
380380

381381
.mx_SpacePanel_contextMenu {
382+
max-width: 360px;
383+
382384
.mx_SpacePanel_contextMenu_header {
383385
margin: 12px 16px 12px;
384386
font-weight: $font-semi-bold;
385387
font-size: $font-15px;
386388
line-height: $font-18px;
389+
overflow: hidden;
390+
text-overflow: ellipsis;
391+
white-space: nowrap;
387392
}
388393

389394
.mx_SpacePanel_iconHome::before {

res/css/structures/_SpaceRoomView.pcss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,10 @@ $SpaceRoomViewInnerWidth: 428px;
177177

178178
h1 {
179179
display: inline-block;
180+
overflow: hidden;
181+
text-overflow: ellipsis;
182+
white-space: nowrap;
183+
width: 100%;
180184
}
181185
}
182186

0 commit comments

Comments
 (0)