Skip to content

Commit 332640c

Browse files
authored
Merge pull request element-hq#6131 from vector-im/luke/fix-scrollbars-on-jump-to-first
Adjust CSS to prevent scrollbars on message panel spinner
2 parents f625590 + 5c354dd commit 332640c

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

src/skins/vector/css/matrix-react-sdk/structures/_NotificationPanel.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ limitations under the License.
5454
left: 0px;
5555
}
5656

57-
.mx_NotificationPanel .mx_EventTile .mx_SenderProfile,
57+
.mx_NotificationPanel .mx_EventTile .mx_SenderProfile,
5858
.mx_NotificationPanel .mx_EventTile .mx_MessageTimestamp {
5959
color: $primary-fg-color;
6060
font-size: 12px;

src/skins/vector/css/matrix-react-sdk/structures/_RoomView.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,11 @@ limitations under the License.
9696
order: 2;
9797
}
9898

99+
.mx_RoomView_body .mx_RoomView_messagePanelSpinner {
100+
order: 2;
101+
margin: auto;
102+
}
103+
99104
.mx_RoomView_body .mx_RoomView_statusArea {
100105
order: 3;
101106
}

src/skins/vector/css/vector-web/structures/_RightPanel.scss

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,6 +84,11 @@ limitations under the License.
8484
flex: 1 1 0;
8585
}
8686

87+
.mx_RightPanel .mx_RoomView_messagePanelSpinner {
88+
order: 2;
89+
margin: auto;
90+
}
91+
8792
.mx_RightPanel_footer {
8893
order: 3;
8994

0 commit comments

Comments
 (0)