Simplify SenderProfile DOM structure

This commit is contained in:
Germain Souquet 2021-05-20 15:25:20 +01:00
parent cf8e49729a
commit d362321706
2 changed files with 11 additions and 21 deletions

View file

@ -177,16 +177,13 @@ $irc-line-height: $font-18px;
.mx_SenderProfile_hover {
background-color: $primary-bg-color;
overflow: hidden;
display: flex;
> span {
display: flex;
> .mx_SenderProfile_name {
overflow: hidden;
text-overflow: ellipsis;
min-width: var(--name-width);
text-align: end;
}
> .mx_SenderProfile_name {
overflow: hidden;
text-overflow: ellipsis;
min-width: var(--name-width);
text-align: end;
}
}