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

Commit

Permalink
Fix disambiguated profile for bubbles
Browse files Browse the repository at this point in the history
Signed-off-by: Šimon Brandner <[email protected]>
  • Loading branch information
SimonBrandner committed Mar 22, 2022
1 parent bf6406c commit b9111ba
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -88,15 +88,15 @@ limitations under the License.
}
}

.mx_SenderProfile,
.mx_DisambiguatedProfile,
.mx_EventTile_line {
width: fit-content;
max-width: 70%;
// fixed line height to prevent emoji from being taller than text
line-height: $font-18px;
}

> .mx_SenderProfile {
> .mx_DisambiguatedProfile {
position: relative;
top: -2px;
left: 2px;
Expand Down Expand Up @@ -168,11 +168,11 @@ limitations under the License.
margin-right: calc(-1 * var(--gutterSize));
}

.mx_SenderProfile {
.mx_DisambiguatedProfile {
display: none;
}

.mx_ReplyTile .mx_SenderProfile {
.mx_ReplyTile .mx_DisambiguatedProfile {
display: block;
}

Expand Down Expand Up @@ -379,7 +379,7 @@ limitations under the License.
.mx_EventTile_avatar {
position: static;
}
.mx_SenderProfile {
.mx_DisambiguatedProfile {
display: none;
}
}
Expand Down

0 comments on commit b9111ba

Please sign in to comment.