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

Commit

Permalink
Align input area with event body's first letter in a thread on IRC/mo…
Browse files Browse the repository at this point in the history
…dern layout (#8636)

Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
  • Loading branch information
luixxiul authored May 20, 2022
1 parent 60cd740 commit 30b0377
Showing 1 changed file with 6 additions and 4 deletions.
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
}
}

0 comments on commit 30b0377

Please sign in to comment.