[Glitch] Make handle more easily selectable on profile page

Port 52a50c5e43 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
This commit is contained in:
cadars 2022-12-13 19:43:03 +01:00 committed by Claire
parent bc91069e08
commit 32b8b3355b
2 changed files with 7 additions and 1 deletions

View file

@ -345,7 +345,9 @@ class Header extends ImmutablePureComponent {
<div className='account__header__tabs__name'>
<h1>
<span dangerouslySetInnerHTML={displayNameHtml} /> {badge}
<small>@{acct} {lockedIcon}</small>
<small>
<span>@{acct}</span> {lockedIcon}
</small>
</h1>
</div>

View file

@ -593,6 +593,10 @@
font-weight: 400;
overflow: hidden;
text-overflow: ellipsis;
span {
user-select: all;
}
}
}
}