revise user-select property
All checks were successful
/ depoly (push) Successful in 1m20s

This commit is contained in:
thislight 2024-11-18 22:41:11 +08:00
parent c363753884
commit 81325e2b22
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
5 changed files with 33 additions and 10 deletions

View file

@ -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 {

View file

@ -424,7 +424,7 @@ const Profile: Component = () => {
aria-label="Display name"
></Body2>
</div>
<span aria-label="Complete username">{fullUsername()}</span>
<span aria-label="Complete username" class="username">{fullUsername()}</span>
</div>
<div role="presentation">
<Switch>