diff options
| author | Shpuld Shpuldson <shpuld@gmail.com> | 2017-04-09 14:28:21 +0300 |
|---|---|---|
| committer | Shpuld Shpuldson <shpuld@gmail.com> | 2017-04-09 14:28:21 +0300 |
| commit | 05dfd9657138f9cff555a65e76c67ecac0864af0 (patch) | |
| tree | 6c776bb455a2b0f17cccec248663aa776e8e32a0 /src/components/attachment/attachment.vue | |
| parent | 39a6867557e1af5dfa4047dc3e19f80069b744a4 (diff) | |
Revert nsfw image sizing, give attachments max-height to reduce scrolling
Diffstat (limited to 'src/components/attachment/attachment.vue')
| -rw-r--r-- | src/components/attachment/attachment.vue | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/attachment/attachment.vue b/src/components/attachment/attachment.vue index 6af23391..e2fc65ba 100644 --- a/src/components/attachment/attachment.vue +++ b/src/components/attachment/attachment.vue @@ -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; } } } |
