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

Irc full name overlap #7652

Merged
merged 3 commits into from
Feb 1, 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
9 changes: 9 additions & 0 deletions res/css/views/rooms/_IRCLayout.scss
Original file line number Diff line number Diff line change
Expand Up @@ -190,6 +190,9 @@ $irc-line-height: $font-18px;

> .mx_SenderProfile_mxid {
visibility: collapse;
// Override the inherited margin.
margin-left: 0;
padding: 0 5px;
}
}

Expand All @@ -199,10 +202,16 @@ $irc-line-height: $font-18px;

> .mx_SenderProfile_displayName {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How would this work for disambiguated users (users that share the same display name, so we also show their mxid)?

overflow: visible;
display: inline;
background-color: $event-selected-color;
border-radius: 8px 0 0 8px;
padding-right: 8px;
}

> .mx_SenderProfile_mxid {
visibility: visible;
opacity: 1;
background-color: $event-selected-color;
}
}

Expand Down