commit | 25efde488bbf1bb9a89ffab066830cefe87a4e6c | [log] [tgz] |
---|---|---|
author | Adrià Vilanova Martínez <me@avm99963.com> | Wed Feb 02 19:15:17 2022 +0100 |
committer | Adrià Vilanova Martínez <me@avm99963.com> | Wed Feb 02 18:25:39 2022 +0000 |
tree | b4129551a2726c11a6e0b537582f7ed65ed20e8b | |
parent | a0862382c14e578ea451ae8081bdfeccdf65ddee [diff] |
Limit height of pictures in summaries (thread list) Fixed: twpowertools:106 Change-Id: I975089912603e13748c3b6eff28f29dc0fea3fa6
diff --git a/src/static/css/image_max_height.css b/src/static/css/image_max_height.css index 2463945..66494b9 100644 --- a/src/static/css/image_max_height.css +++ b/src/static/css/image_max_height.css
@@ -1,5 +1,6 @@ ec-question .body img, ec-message .body img, + ec-thread-summary .main .content .body img, .scTailwindThreadPostcontentroot img { /* "Max height = full height - 2 * height of the header" */ max-height: calc(100vh - 2*64px);