summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjulian laplace <julescarbon@gmail.com>2022-10-27 17:12:07 +0200
committerjulian laplace <julescarbon@gmail.com>2022-10-27 17:12:07 +0200
commit1e08d36c4c02596b4fc233544db1a4be2cff1ae2 (patch)
treeeee9da1ffdf61f509b8b849d90f75060aaf2eb28
parent8b1f460bf7d4291e70ddaeff9f4e8e8174808ba7 (diff)
filtering pics that might be in a comment
-rw-r--r--public/assets/css/hootstream.css13
-rw-r--r--public/assets/js/lib/views/stream/hootstream.js2
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 [