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

Commit

Permalink
Align EventTile_line with display name on message bubble (#8692)
Browse files Browse the repository at this point in the history
  • Loading branch information
luixxiul authored May 25, 2022
1 parent 249d52c commit dbd9911
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions res/css/views/rooms/_EventBubbleTile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,10 @@ limitations under the License.

.mx_DisambiguatedProfile,
.mx_EventTile_line {
--EventBubbleTile_line-max-width: 70%;

width: fit-content;
max-width: var(--EventBubbleTile_line-max-width);
max-width: var(--EventBubbleTile_line-max-width); // Align message bubble and displayName
line-height: $font-18px; // fixed line height to prevent emoji from being taller than text
}

Expand Down Expand Up @@ -264,7 +266,6 @@ limitations under the License.

.mx_EventTile_line {
--EventBubbleTile_line-margin-inline-end: -12px;
--EventBubbleTile_line-max-width: 70%;

position: relative;
display: flex;
Expand Down

0 comments on commit dbd9911

Please sign in to comment.