This commit is contained in:
parent
c363753884
commit
81325e2b22
5 changed files with 33 additions and 10 deletions
|
@ -35,3 +35,7 @@ https://stackoverflow.com/questions/66005655/pwa-ios-child-of-body-not-taking-10
|
||||||
h1 {
|
h1 {
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
* {
|
||||||
|
user-select: none;
|
||||||
|
}
|
||||||
|
|
|
@ -28,6 +28,10 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
|
||||||
|
& * {
|
||||||
|
user-select: text;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.acct-grp {
|
.acct-grp {
|
||||||
|
@ -49,6 +53,18 @@
|
||||||
.name-grp {
|
.name-grp {
|
||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: column nowrap;
|
flex-flow: column nowrap;
|
||||||
|
|
||||||
|
& * {
|
||||||
|
user-select: text;
|
||||||
|
}
|
||||||
|
|
||||||
|
.display-name {
|
||||||
|
display: block;
|
||||||
|
}
|
||||||
|
|
||||||
|
.username {
|
||||||
|
user-select: all;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.acct-mark {
|
.acct-mark {
|
||||||
|
@ -57,9 +73,7 @@
|
||||||
margin-right: 0.25em;
|
margin-right: 0.25em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.display-name {
|
|
||||||
display: block;
|
|
||||||
}
|
|
||||||
|
|
||||||
table.acct-fields {
|
table.acct-fields {
|
||||||
word-break: break-all;
|
word-break: break-all;
|
||||||
|
@ -78,6 +92,10 @@
|
||||||
& svg {
|
& svg {
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
& * {
|
||||||
|
user-select: text;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.toot-list-toolbar {
|
.toot-list-toolbar {
|
||||||
|
|
|
@ -424,7 +424,7 @@ const Profile: Component = () => {
|
||||||
aria-label="Display name"
|
aria-label="Display name"
|
||||||
></Body2>
|
></Body2>
|
||||||
</div>
|
</div>
|
||||||
<span aria-label="Complete username">{fullUsername()}</span>
|
<span aria-label="Complete username" class="username">{fullUsername()}</span>
|
||||||
</div>
|
</div>
|
||||||
<div role="presentation">
|
<div role="presentation">
|
||||||
<Switch>
|
<Switch>
|
||||||
|
|
|
@ -261,6 +261,8 @@ const TootBottomSheet: Component = (props) => {
|
||||||
style={{
|
style={{
|
||||||
"scroll-margin-top":
|
"scroll-margin-top":
|
||||||
"calc(var(--scaffold-topbar-height) + 20px)",
|
"calc(var(--scaffold-topbar-height) + 20px)",
|
||||||
|
"cursor": "auto",
|
||||||
|
"user-select": "auto",
|
||||||
}}
|
}}
|
||||||
status={toot()!}
|
status={toot()!}
|
||||||
actionable={!!actSession()}
|
actionable={!!actSession()}
|
||||||
|
|
|
@ -5,12 +5,7 @@
|
||||||
margin-block: 0;
|
margin-block: 0;
|
||||||
position: relative;
|
position: relative;
|
||||||
contain: content;
|
contain: content;
|
||||||
|
|
||||||
&:not(.expanded) {
|
|
||||||
user-select: none;
|
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
&.toot {
|
&.toot {
|
||||||
/* fix composition ordering: I think the css module processor should aware the overriding and behaves, but no */
|
/* fix composition ordering: I think the css module processor should aware the overriding and behaves, but no */
|
||||||
|
@ -100,6 +95,10 @@
|
||||||
margin-right: var(--card-pad, 0);
|
margin-right: var(--card-pad, 0);
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
|
|
||||||
|
& * {
|
||||||
|
user-select: text;
|
||||||
|
}
|
||||||
|
|
||||||
& a {
|
& a {
|
||||||
color: var(--tutu-color-primary-d);
|
color: var(--tutu-color-primary-d);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue