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

Align EventTile_line with display name on message bubble #8692

Merged
merged 1 commit into from
May 25, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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