Profile: Correct rendering of usernames in several lines (#2208)

This commit is contained in:
Alexander Zinchuk 2022-12-15 19:19:20 +01:00
parent 1b37ccc533
commit 695e811606
3 changed files with 3 additions and 5 deletions

View File

@ -128,7 +128,7 @@ const ChatExtra: FC<OwnProps & StateProps> = ({
stopEvent(e); stopEvent(e);
copy(`@${nick}`, lang(isChat ? 'Link' : 'Username')); copy(`@${nick}`, lang(isChat ? 'Link' : 'Username'));
}} }}
className="username-link" className="text-entity-link username-link"
> >
{`@${nick}`} {`@${nick}`}
</a> </a>

View File

@ -344,10 +344,6 @@
padding: 0 1.5rem; padding: 0 1.5rem;
} }
.username-link {
color: var(--color-links);
}
.settings-quick-reaction { .settings-quick-reaction {
.Radio-main .label { .Radio-main .label {
display: flex; display: flex;

View File

@ -57,6 +57,8 @@
.other-usernames { .other-usernames {
display: block; display: block;
white-space: normal;
line-height: 1.25rem;
} }
.username-link { .username-link {