[Glitch] Add "not available" label on unknown media attachments

Port d344289431 to glitch-soc

Signed-off-by: Thibaut Girka <thib@sitedethib.com>
This commit is contained in:
Eugen Rochko
2019-09-01 19:43:35 +02:00
committed by Thibaut Girka
parent 5088eb8388
commit 23c513846a
2 changed files with 19 additions and 4 deletions

View File

@@ -1267,6 +1267,14 @@
background: rgba($base-overlay-background, 0.8);
}
}
&:disabled {
cursor: not-allowed;
.spoiler-button__overlay__label {
background: rgba($base-overlay-background, 0.5);
}
}
}
}