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

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
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 { &.mx_ThreadView {
max-height: 100%;
// Inside a thread timeline only // Inside a thread timeline only
.mx_GenericEventListSummary { .mx_GenericEventListSummary {
&:not([data-layout=bubble]) > .mx_EventTile_line { &:not([data-layout=bubble]) > .mx_EventTile_line {
@ -137,6 +139,10 @@ limitations under the License.
border-radius: 8px; border-radius: 8px;
} }
} }
.mx_MessageComposer_sendMessage {
margin-right: 0;
}
} }
.mx_RoomView_messagePanel { // To avoid the rule from being applied to .mx_ThreadPanel_empty .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-start: 56px; // 56px: 64px - 8px (padding)
--ThreadView_group_spacing-end: 8px; // same as 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 { .mx_EventTile_roomName {
display: none; display: none;
} }
@ -985,8 +976,4 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
} }
} }
} }
.mx_MessageComposer_sendMessage {
margin-right: 0;
}
} }