diff --git a/src/App.css b/src/App.css index c891e53..70ee2fb 100644 --- a/src/App.css +++ b/src/App.css @@ -35,3 +35,7 @@ https://stackoverflow.com/questions/66005655/pwa-ios-child-of-body-not-taking-10 h1 { margin: 0; } + +* { + user-select: none; +} diff --git a/src/profiles/Profile.css b/src/profiles/Profile.css index fa506b7..994a278 100644 --- a/src/profiles/Profile.css +++ b/src/profiles/Profile.css @@ -28,6 +28,10 @@ } word-break: break-all; + + & * { + user-select: text; + } } .acct-grp { @@ -49,6 +53,18 @@ .name-grp { display: flex; flex-flow: column nowrap; + + & * { + user-select: text; + } + + .display-name { + display: block; + } + + .username { + user-select: all; + } } .acct-mark { @@ -57,9 +73,7 @@ margin-right: 0.25em; } - .display-name { - display: block; - } + table.acct-fields { word-break: break-all; @@ -78,6 +92,10 @@ & svg { vertical-align: middle; } + + & * { + user-select: text; + } } .toot-list-toolbar { diff --git a/src/profiles/Profile.tsx b/src/profiles/Profile.tsx index 21ce929..403a045 100644 --- a/src/profiles/Profile.tsx +++ b/src/profiles/Profile.tsx @@ -424,7 +424,7 @@ const Profile: Component = () => { aria-label="Display name" > - {fullUsername()} + {fullUsername()}