From aacea8d87b9739d2b8284cfb0d66b3ad436e9224 Mon Sep 17 00:00:00 2001 From: Germain Date: Thu, 4 Nov 2021 17:10:22 +0000 Subject: [PATCH] Fix MemberAvatar rendering and thread info color (#7085) --- res/css/views/rooms/_EventTile.scss | 9 ++++++++- src/components/views/auth/PasswordLogin.tsx | 5 +++++ src/components/views/rooms/EventTile.tsx | 2 +- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index c6f0bf1cf0..32737aceec 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -673,7 +673,7 @@ $left-gutter: 64px; padding-right: 16px; padding-top: 8px; padding-bottom: 8px; - font-size: 12px; + font-size: $font-12px; color: $secondary-content; box-sizing: border-box; justify-content: flex-start; @@ -694,6 +694,13 @@ $left-gutter: 64px; overflow: hidden; white-space: nowrap; padding-left: 8px; + font-size: $font-12px; + line-height: calc(2 * $font-12px); + color: $secondary-content; +} + +.mx_ThreadInfo_avatar { + float: left; } .mx_ThreadInfo_thread-icon { diff --git a/src/components/views/auth/PasswordLogin.tsx b/src/components/views/auth/PasswordLogin.tsx index 920cec4e5f..b9bba921dd 100644 --- a/src/components/views/auth/PasswordLogin.tsx +++ b/src/components/views/auth/PasswordLogin.tsx @@ -317,6 +317,8 @@ export default class PasswordLogin extends React.PureComponent { return { return { return { { loginField } { } return <> - +
{ threadMessagePreview }