replace js image scaling with css for message attachments

This commit is contained in:
bree
2021-07-02 22:40:53 -04:00
parent ee5e558e9f
commit 036e9a330a
2 changed files with 10 additions and 36 deletions

View File

@@ -2,6 +2,14 @@
border-radius: 6px;
margin: .125rem 0 .125rem;
width: auto;
height: auto;
max-height: 640px;
max-width: min(480px, 100%);
object-fit: contain;
&[data-spoiler="true"] {
filter: blur(30px);
pointer-events: none;