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

Commit

Permalink
Wrap long space names (#9201)
Browse files Browse the repository at this point in the history
  • Loading branch information
t3chguy authored Aug 17, 2022
1 parent 27a7263 commit 0e43f3c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions res/css/structures/_SpacePanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -379,11 +379,16 @@ $activeBorderColor: $primary-content;
}

.mx_SpacePanel_contextMenu {
max-width: 360px;

.mx_SpacePanel_contextMenu_header {
margin: 12px 16px 12px;
font-weight: $font-semi-bold;
font-size: $font-15px;
line-height: $font-18px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}

.mx_SpacePanel_iconHome::before {
Expand Down
4 changes: 4 additions & 0 deletions res/css/structures/_SpaceRoomView.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,10 @@ $SpaceRoomViewInnerWidth: 428px;

h1 {
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 100%;
}
}

Expand Down

0 comments on commit 0e43f3c

Please sign in to comment.