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

Room header: do not collapse avatar or facepile #11866

Merged
merged 2 commits into from
Nov 14, 2023
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions res/css/structures/_RightPanel.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ limitations under the License.
box-sizing: border-box;
height: 100%;
contain: strict;
background-color: var(--cpd-color-bg-canvas-default);
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This stops extra broken stacking of elements when right panel starts overlapping the room header at very small widths.


.mx_RoomView_MessageList {
padding: 14px 18px; /* top and bottom is 4px smaller to balance with the padding set above */
Expand Down
8 changes: 8 additions & 0 deletions res/css/views/rooms/_RoomHeader.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,16 @@ limitations under the License.
cursor: pointer;
user-select: none;

> div {
flex-shrink: 0;
}

&:hover {
color: $primary-content;
background: var(--cpd-color-bg-subtle-primary);
}
}

.mx_RoomHeader .mx_BaseAvatar {
flex-shrink: 0;
}
Loading