Merge branch 'images' into 'master'

replace js image scaling with css for message attatchments

See merge request revolt/revite!3
This commit is contained in:
insert
2021-07-04 17:53:55 +00:00
3 changed files with 12 additions and 36 deletions

View File

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