Fix the hidden view source toggle on IRC layout (#10266)
* Display view source toggle on IRC layout Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Add a test Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Merge tests Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Collapse hidden event source before checking clickability of view source toggle on IRC layout Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Select view source event under the edited line on the test Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * Fix the test Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> * lint Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com> --------- Signed-off-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
This commit is contained in:
parent
4f1e5a71de
commit
db7748b743
2 changed files with 49 additions and 4 deletions
|
@ -130,12 +130,17 @@ $irc-line-height: $font-18px;
|
|||
.mx_TextualEvent,
|
||||
.mx_ViewSourceEvent,
|
||||
.mx_MTextBody {
|
||||
display: inline-block;
|
||||
/* add a 1px padding top and bottom because our larger
|
||||
emoji font otherwise gets cropped by anti-zalgo */
|
||||
padding: var(--EventTile_irc_line-padding-block) 0;
|
||||
}
|
||||
|
||||
.mx_EventTile_e2eIcon,
|
||||
.mx_TextualEvent,
|
||||
.mx_MTextBody {
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.mx_ReplyTile {
|
||||
.mx_MTextBody {
|
||||
display: -webkit-box; /* Enable -webkit-line-clamp */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue