Status: display a placeholder Card on own links, poll for updated card
This commit is contained in:
parent
3414363245
commit
1714ac03d2
6 changed files with 15 additions and 1 deletions
Binary file not shown.
Binary file not shown.
BIN
app/soapbox/features/placeholder/components/placeholder_card.js
Normal file
BIN
app/soapbox/features/placeholder/components/placeholder_card.js
Normal file
Binary file not shown.
Binary file not shown.
BIN
app/soapbox/utils/status.js
Normal file
BIN
app/soapbox/utils/status.js
Normal file
Binary file not shown.
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue