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

Commit 2a3fd93

Browse files
author
Kerry
authored
Room header: do not collapse avatar or facepile (#11866)
* Room header: do not collapse avatar or facepile * comment
1 parent a3f0633 commit 2a3fd93

File tree

2 files changed

+12
-0
lines changed

2 files changed

+12
-0
lines changed

res/css/structures/_RightPanel.pcss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ limitations under the License.
2525
box-sizing: border-box;
2626
height: 100%;
2727
contain: strict;
28+
background-color: var(--cpd-color-bg-canvas-default);
2829

2930
.mx_RoomView_MessageList {
3031
padding: 14px 18px; /* top and bottom is 4px smaller to balance with the padding set above */

res/css/views/rooms/_RoomHeader.pcss

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,19 @@ limitations under the License.
8383
cursor: pointer;
8484
user-select: none;
8585

86+
/* RoomAvatar doesn't pass classes down to avatar
87+
So set style here
88+
using div because compound classes are not stable */
89+
> div {
90+
flex-shrink: 0;
91+
}
92+
8693
&:hover {
8794
color: $primary-content;
8895
background: var(--cpd-color-bg-subtle-primary);
8996
}
9097
}
98+
99+
.mx_RoomHeader .mx_BaseAvatar {
100+
flex-shrink: 0;
101+
}

0 commit comments

Comments
 (0)