Move style rules related to ThreadPanel from EventTile (#8683)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
pull/28217/head
Suguru Hirahara 2022-05-25 07:36:12 +00:00 committed by GitHub
parent 03c2bdbde1
commit 90dfb8d61f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 13 deletions

View File

@ -120,6 +120,8 @@ limitations under the License.
}
&.mx_ThreadView {
max-height: 100%;
// Inside a thread timeline only
.mx_GenericEventListSummary {
&:not([data-layout=bubble]) > .mx_EventTile_line {
@ -137,6 +139,10 @@ limitations under the License.
border-radius: 8px;
}
}
.mx_MessageComposer_sendMessage {
margin-right: 0;
}
}
.mx_RoomView_messagePanel { // To avoid the rule from being applied to .mx_ThreadPanel_empty

View File

@ -848,15 +848,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
--ThreadView_group_spacing-start: 56px; // 56px: 64px - 8px (padding)
--ThreadView_group_spacing-end: 8px; // same as padding
display: flex;
flex-direction: column;
max-height: 100%;
.mx_ThreadView_List {
flex: 1;
overflow: scroll;
}
.mx_EventTile_roomName {
display: none;
}
@ -985,8 +976,4 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
}
}
}
.mx_MessageComposer_sendMessage {
margin-right: 0;
}
}