TootContent: remove css modules
All checks were successful
/ depoly (push) Successful in 1m19s

This commit is contained in:
thislight 2024-11-20 15:51:14 +08:00
parent 4c1b189ca0
commit cff0c2880a
No known key found for this signature in database
GPG key ID: FCFE5192241CCD4E
4 changed files with 44 additions and 111 deletions

View file

@ -0,0 +1,29 @@
.TootContent {
composes: cardNoPad from "../material/cards.module.css";
margin-left: calc(var(--card-pad, 0) + var(--toot-avatar-size, 0) + 8px);
margin-right: var(--card-pad, 0);
line-height: 1.5;
& * {
user-select: text;
}
& a {
color: var(--tutu-color-primary-d);
}
& a[target="_blank"] {
word-break: break-all;
>.invisible {
display: none;
}
>.ellipsis {
&::after {
display: inline;
content: "...";
}
}
}
}