From 1e08d36c4c02596b4fc233544db1a4be2cff1ae2 Mon Sep 17 00:00:00 2001 From: julian laplace Date: Thu, 27 Oct 2022 17:12:07 +0200 Subject: filtering pics that might be in a comment --- public/assets/css/hootstream.css | 13 +++++++++++-- public/assets/js/lib/views/stream/hootstream.js | 2 +- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/public/assets/css/hootstream.css b/public/assets/css/hootstream.css index 1bc0b44..1966da5 100644 --- a/public/assets/css/hootstream.css +++ b/public/assets/css/hootstream.css @@ -64,11 +64,11 @@ } #hootevents .hootText img { max-width: calc(100vmin - 2rem); - max-height: calc(100vmin - 1rem); + max-height: calc(40vmin - 1rem); } #hootevents .imageList img { max-width: calc(100vmin - 2rem); - max-height: calc(100vmin - 1rem); + max-height: calc(40vmin - 1rem); display: block; } #hootevents .imageList .image { @@ -516,4 +516,13 @@ margin-left: 1.75rem; width: calc(100% - 4rem); } + #hootevents .hootText img { + max-width: calc(100vmin - 2rem); + max-height: calc(80vmin - 1rem); + } + #hootevents .imageList img { + max-width: calc(100vmin - 2rem); + max-height: calc(80vmin - 1rem); + display: block; + } } diff --git a/public/assets/js/lib/views/stream/hootstream.js b/public/assets/js/lib/views/stream/hootstream.js index 628d59c..4d64cf6 100644 --- a/public/assets/js/lib/views/stream/hootstream.js +++ b/public/assets/js/lib/views/stream/hootstream.js @@ -261,7 +261,7 @@ var HootStream = View.extend({ ) .map(([image]) => image); - console.log(filteredImages); + // console.log(filteredImages); // console.log(thread); return [ -- cgit v1.2.3-70-g09d2