Skip to content
This repository was archived by the owner on Sep 11, 2024. It is now read-only.

Commit 30b0377

Browse files
authored
Align input area with event body's first letter in a thread on IRC/modern layout (#8636)
Signed-off-by: Suguru Hirahara <[email protected]>
1 parent 60cd740 commit 30b0377

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

res/css/views/rooms/_EventTile.scss

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -881,6 +881,12 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
881881
.mx_EventTile_line {
882882
padding-top: var(--BaseCard_EventTile_line-padding-block);
883883
padding-bottom: var(--BaseCard_EventTile_line-padding-block);
884+
885+
.mx_EventTile_content {
886+
&.mx_EditMessageComposer {
887+
padding-inline-start: 0; // align start of first letter with that of the event body
888+
}
889+
}
884890
}
885891
}
886892

@@ -978,8 +984,4 @@ $threadInfoLineHeight: calc(2 * $font-12px); // See: _commons.scss
978984
.mx_MessageComposer_sendMessage {
979985
margin-right: 0;
980986
}
981-
982-
.mx_EditMessageComposer {
983-
margin-left: 30px !important; // align start of first letter with that of the event body
984-
}
985987
}

0 commit comments

Comments
 (0)