Start DM on first message (#8612)

This commit is contained in:
Michael Weimann 2022-08-04 08:19:52 +02:00 committed by GitHub
parent 0e0be08781
commit ed8ccb5d80
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 482 additions and 65 deletions

View file

@ -38,6 +38,7 @@
@import "./structures/_GenericErrorPage.pcss";
@import "./structures/_HeaderButtons.pcss";
@import "./structures/_HomePage.pcss";
@import "./structures/_LargeLoader.pcss";
@import "./structures/_LeftPanel.pcss";
@import "./structures/_MainSplit.pcss";
@import "./structures/_MatrixChat.pcss";

View file

@ -0,0 +1,37 @@
/*
Copyright 2022 The Matrix.org Foundation C.I.C.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
.mx_LargeLoader {
align-items: center;
display: flex;
flex-direction: column;
height: 100%;
.mx_Spinner {
flex: unset;
height: auto;
margin-bottom: 32px;
margin-top: 33vh;
}
.mx_LargeLoader_text {
font-size: 24px;
font-weight: 600;
padding: 0 16px;
position: relative;
text-align: center;
}
}

View file

@ -32,6 +32,13 @@ limitations under the License.
position: relative;
}
.mx_MainSplit_timeline,
.mx_RoomView--local {
.mx_MessageComposer_wrapper {
margin: $spacing-8 $spacing-16;
}
}
.mx_RoomView_auxPanel {
min-width: 0px;
width: 100%;
@ -183,6 +190,10 @@ limitations under the License.
box-sizing: border-box;
}
.mx_RoomView--local .mx_ScrollPanel .mx_RoomView_MessageList {
justify-content: center;
}
.mx_RoomView_MessageList li {
clear: both;
}