From 30b03776b87eaa4658fb2e985d3549ba4179e715 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Fri, 20 May 2022 09:14:37 +0000 Subject: [PATCH] Align input area with event body's first letter in a thread on IRC/modern layout (#8636) Signed-off-by: Suguru Hirahara --- res/css/views/rooms/_EventTile.scss | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/res/css/views/rooms/_EventTile.scss b/res/css/views/rooms/_EventTile.scss index 95dc0bf67f..f49ac7da7e 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -881,6 +881,12 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss .mx_EventTile_line { padding-top: var(--BaseCard_EventTile_line-padding-block); padding-bottom: var(--BaseCard_EventTile_line-padding-block); + + .mx_EventTile_content { + &.mx_EditMessageComposer { + padding-inline-start: 0; // align start of first letter with that of the event body + } + } } } @@ -978,8 +984,4 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss .mx_MessageComposer_sendMessage { margin-right: 0; } - - .mx_EditMessageComposer { - margin-left: 30px !important; // align start of first letter with that of the event body - } }