diff options
author | cadars <gregorycadars@gmail.com> | 2022-12-13 19:43:03 +0100 |
---|---|---|
committer | Claire <claire.github-309c@sitedethib.com> | 2022-12-14 09:19:23 +0100 |
commit | 32b8b3355b8a4c2d8993cd52445512c06ae07d5c (patch) | |
tree | dead02d04cc63baf4d92c536bba197f9b9f25bbb | |
parent | bc91069e08e0dadcb523b6e372c0c0830376706c (diff) |
[Glitch] Make handle more easily selectable on profile page
Port 52a50c5e43a78f21a1054869352db31b4fa3aba0 to glitch-soc Signed-off-by: Claire <claire.github-309c@sitedethib.com>
-rw-r--r-- | app/javascript/flavours/glitch/features/account/components/header.js | 4 | ||||
-rw-r--r-- | app/javascript/flavours/glitch/styles/components/accounts.scss | 4 |
2 files changed, 7 insertions, 1 deletions
diff --git a/app/javascript/flavours/glitch/features/account/components/header.js b/app/javascript/flavours/glitch/features/account/components/header.js index 9a5f2fd62..d261c6ea5 100644 --- a/app/javascript/flavours/glitch/features/account/components/header.js +++ b/app/javascript/flavours/glitch/features/account/components/header.js @@ -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> diff --git a/app/javascript/flavours/glitch/styles/components/accounts.scss b/app/javascript/flavours/glitch/styles/components/accounts.scss index ac2d642a8..ed1d3d660 100644 --- a/app/javascript/flavours/glitch/styles/components/accounts.scss +++ b/app/javascript/flavours/glitch/styles/components/accounts.scss @@ -593,6 +593,10 @@ font-weight: 400; overflow: hidden; text-overflow: ellipsis; + + span { + user-select: all; + } } } } |