Skip to content
This repository was 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 2 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 @@ -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
}
}
}
}
}
Expand Down Expand Up @@ -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
Expand Down