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

Manage rules for mx_RoomView on _RoomView.pcss - _ScrollPanel.pcss #10770

Merged
merged 2 commits into from
May 9, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
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: 0 additions & 1 deletion res/css/_components.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
@import "./structures/_RoomSearch.pcss";
@import "./structures/_RoomStatusBar.pcss";
@import "./structures/_RoomView.pcss";
@import "./structures/_ScrollPanel.pcss";
@import "./structures/_SearchBox.pcss";
@import "./structures/_SpaceHierarchy.pcss";
@import "./structures/_SpacePanel.pcss";
Expand Down
16 changes: 13 additions & 3 deletions res/css/structures/_RoomView.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -181,10 +181,20 @@ limitations under the License.
li {
clear: both;
}
}

.mx_RoomView--local .mx_ScrollPanel .mx_RoomView_MessageList {
justify-content: center;
.mx_ScrollPanel & {
position: relative;
display: flex;
flex-direction: column;
justify-content: flex-end;

content-visibility: auto;
contain-intrinsic-size: 50px;
}

.mx_RoomView--local .mx_ScrollPanel & {
justify-content: center;
}
}

li.mx_RoomView_myReadMarker_container {
Expand Down
27 changes: 0 additions & 27 deletions res/css/structures/_ScrollPanel.pcss

This file was deleted.