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

Commit 90dfb8d

Browse files
authored
Move style rules related to ThreadPanel from EventTile (#8683)
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 03c2bdb commit 90dfb8d

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

res/css/views/right_panel/_ThreadPanel.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,8 @@ limitations under the License.
120120
}
121121

122122
&.mx_ThreadView {
123+
max-height: 100%;
124+
123125
// Inside a thread timeline only
124126
.mx_GenericEventListSummary {
125127
&:not([data-layout=bubble]) > .mx_EventTile_line {
@@ -137,6 +139,10 @@ limitations under the License.
137139
border-radius: 8px;
138140
}
139141
}
142+
143+
.mx_MessageComposer_sendMessage {
144+
margin-right: 0;
145+
}
140146
}
141147

142148
.mx_RoomView_messagePanel { // To avoid the rule from being applied to .mx_ThreadPanel_empty

res/css/views/rooms/_EventTile.scss

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -848,15 +848,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
848848
--ThreadView_group_spacing-start: 56px; // 56px: 64px - 8px (padding)
849849
--ThreadView_group_spacing-end: 8px; // same as padding
850850

851-
display: flex;
852-
flex-direction: column;
853-
max-height: 100%;
854-
855-
.mx_ThreadView_List {
856-
flex: 1;
857-
overflow: scroll;
858-
}
859-
860851
.mx_EventTile_roomName {
861852
display: none;
862853
}
@@ -985,8 +976,4 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
985976
}
986977
}
987978
}
988-
989-
.mx_MessageComposer_sendMessage {
990-
margin-right: 0;
991-
}
992979
}

0 commit comments

Comments
 (0)