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

Align input area with event body's first letter in a thread on IRC/modern layout #8636

Merged
merged 4 commits into from
May 20, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions res/css/views/rooms/_EventTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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
}
}
}
}

Expand Down Expand Up @@ -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
}
}