Status: display a placeholder Card on own links, poll for updated card

This commit is contained in:
Alex Gleason 2021-11-15 19:08:27 -06:00
parent 3414363245
commit 1714ac03d2
No known key found for this signature in database
GPG key ID: 7211D1F99744FBB7
6 changed files with 15 additions and 1 deletions

Binary file not shown.

Binary file not shown.

BIN
app/soapbox/utils/status.js Normal file

Binary file not shown.

View file

@ -1,6 +1,7 @@
.placeholder-status,
.placeholder-hashtag,
.notification--placeholder {
.notification--placeholder,
.status-card--placeholder {
position: relative;
&::before {
@ -105,3 +106,16 @@
background: transparent;
box-shadow: none;
}
.status-card--placeholder {
pointer-events: none;
.status-card__title,
.status-card__description,
.status-card__host {
letter-spacing: -1px;
color: var(--brand-color) !important;
word-break: break-all;
opacity: 0.1;
}
}