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

@ -261,6 +261,8 @@ const TootBottomSheet: Component = (props) => {
style={{
"scroll-margin-top":
"calc(var(--scaffold-topbar-height) + 20px)",
"cursor": "auto",
"user-select": "auto",
}}
status={toot()!}
actionable={!!actSession()}

View file

@ -5,12 +5,7 @@
margin-block: 0;
position: relative;
contain: content;
&:not(.expanded) {
user-select: none;
cursor: pointer;
}
cursor: pointer;
&.toot {
/* 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);
line-height: 1.5;
& * {
user-select: text;
}
& a {
color: var(--tutu-color-primary-d);
}