Special styling for "direct" posts

This commit is contained in:
Lim Chee Aun 2022-12-11 10:56:31 +08:00
parent 9c5586e43b
commit bc4551583b
2 changed files with 12 additions and 1 deletions

View file

@ -15,6 +15,17 @@
--reply-to-faded-color
), transparent 160px);
}
.visibility-direct {
/* diagonal stripes of yellow */
background-image: repeating-linear-gradient(
-45deg,
var(--reply-to-faded-color),
var(--reply-to-faded-color) 10px,
var(--reply-to-faded-color) 10px,
transparent 10px,
transparent 20px
);
}
/* STATUS PRE META */

View file

@ -495,7 +495,7 @@ function Status({ statusID, status, withinContext, size = 'm', skeleton }) {
<div
class={`status ${
!withinContext && inReplyToAccount ? 'status-reply-to' : ''
} ${
} visibility-${visibility} ${
{
s: 'small',
m: 'medium',