From e582b1559b1d6a30f64d0c223a26a043f32e5769 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=A0imon=20Brandner?= Date: Fri, 2 Jul 2021 15:09:02 +0200 Subject: [PATCH] Fix redacted messages (again) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Šimon Brandner --- res/css/views/messages/_RedactedBody.scss | 4 +--- res/css/views/rooms/_ReplyTile.scss | 9 +++++++++ 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/res/css/views/messages/_RedactedBody.scss b/res/css/views/messages/_RedactedBody.scss index 767dfef736..600ac0c6b7 100644 --- a/res/css/views/messages/_RedactedBody.scss +++ b/res/css/views/messages/_RedactedBody.scss @@ -20,8 +20,6 @@ limitations under the License. padding-left: 20px; position: relative; - line-height: 2.2rem; - &::before { height: 14px; width: 14px; @@ -32,7 +30,7 @@ limitations under the License. mask-size: contain; content: ''; position: absolute; - top: 4px; + top: 1px; left: 0; } } diff --git a/res/css/views/rooms/_ReplyTile.scss b/res/css/views/rooms/_ReplyTile.scss index 487b616240..027b9626a6 100644 --- a/res/css/views/rooms/_ReplyTile.scss +++ b/res/css/views/rooms/_ReplyTile.scss @@ -31,6 +31,15 @@ limitations under the License. color: $primary-fg-color; } +.mx_ReplyTile > .mx_RedactedBody { + padding: 18px; + + &::before { + height: 13px; + width: 13px; + } +} + // We do reply size limiting with CSS to avoid duplicating the TextualBody component. .mx_ReplyTile .mx_EventTile_content { $reply-lines: 2;