Skip to content
Snippets Groups Projects

replace js image scaling with css for message attatchments

Merged bree requested to merge revolt-bree/revite:images into master
Files
3
@@ -2,6 +2,13 @@
@@ -2,6 +2,13 @@
border-radius: 6px;
border-radius: 6px;
margin: .125rem 0 .125rem;
margin: .125rem 0 .125rem;
 
height: auto;
 
 
max-height: 640px;
 
max-width: min(480px, 100%);
 
 
object-fit: contain;
 
&[data-spoiler="true"] {
&[data-spoiler="true"] {
filter: blur(30px);
filter: blur(30px);
pointer-events: none;
pointer-events: none;