[Glitch] Make handle more easily selectable on profile page

Port 40bf70b802 to glitch-soc

Signed-off-by: Claire <claire.github-309c@sitedethib.com>
lolsob-rspec
cadars 2022-12-13 19:43:03 +01:00 committed by Claire
parent 9af13fa961
commit 69774c415f
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;
}
} }
} }
} }