Skip to content
Snippets Groups Projects
Commit 05dfd965 authored by Shpuld Shpuldson's avatar Shpuld Shpuldson
Browse files

Revert nsfw image sizing, give attachments max-height to reduce scrolling

parent 39a68675
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,7 @@ const Attachment = {
autoHeight () {
if (this.type === 'image' && this.nsfw) {
return {
'min-height': '311px'
'min-height': '109px'
}
}
}
......
......@@ -116,8 +116,10 @@
border-style: solid;
border-width: 1px;
border-radius: 5px;
object-fit: contain;
width: 100%;
height: 100%; /* If this isn't here, chrome will stretch the images */
//height: 100%; /* If this isn't here, chrome will stretch the images */
max-height: 500px;
}
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment