From dd53ac13d6e8d8d234b76405ac3a9c4d58776c25 Mon Sep 17 00:00:00 2001 From: Suguru Hirahara Date: Wed, 18 May 2022 02:38:46 +0900 Subject: [PATCH] Align input area with event body's first letter in a thread on IRC/modern layout 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 9f398c5594d..6df67b8e8fc 100644 --- a/res/css/views/rooms/_EventTile.scss +++ b/res/css/views/rooms/_EventTile.scss @@ -883,6 +883,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 + } + } } } } @@ -981,10 +987,6 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss margin-right: 0; } - .mx_EditMessageComposer { - margin-left: 30px !important; // align start of first letter with that of the event body - } - .mx_EditMessageComposer_buttons { padding-right: 11px; // align with right edge of input margin-right: 0; // align with right edge of background