[Glitch] Make handle more easily selectable on profile page

Port 52a50c5e43 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
pull/41/head
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'> <div className='account__header__tabs__name'>
<h1> <h1>
<span dangerouslySetInnerHTML={displayNameHtml} /> {badge} <span dangerouslySetInnerHTML={displayNameHtml} /> {badge}
<small>@{acct} {lockedIcon}</small> <small>
<span>@{acct}</span> {lockedIcon}
</small>
</h1> </h1>
</div> </div>

View File

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