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

* Move style rules of `mx_RoomView_MessageList` from _ScrollPanel.pcss on _RoomView.pcss

* Nesting: `mx_RoomView--local .mx_ScrollPanel`
This commit is contained in:
Suguru Hirahara 2023-05-09 08:32:16 +00:00 committed by GitHub
parent 556a36f7d5
commit d2fa0af3c0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 13 additions and 31 deletions

View file

@ -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 {