From bda68ed7f418d0c24b502de8b1619b76d5261fb4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lera=20Elvo=C3=A9?= Date: Wed, 28 May 2025 19:25:14 +0300 Subject: [PATCH] add a max height to threads in topic view --- data/static/style.css | 2 ++ sass/style.scss | 2 ++ 2 files changed, 4 insertions(+) diff --git a/data/static/style.css b/data/static/style.css index 7093288..b37536c 100644 --- a/data/static/style.css +++ b/data/static/style.css @@ -445,6 +445,8 @@ input[type=text]:focus, input[type=password]:focus, textarea:focus, select:focus display: flex; flex-direction: column; overflow: hidden; + max-height: 110px; + mask-image: linear-gradient(180deg, #000 60%, transparent); } .thread-info-post-preview { diff --git a/sass/style.scss b/sass/style.scss index 750cf4c..2637786 100644 --- a/sass/style.scss +++ b/sass/style.scss @@ -455,6 +455,8 @@ input[type="text"], input[type="password"], textarea, select { display: flex; flex-direction: column; overflow: hidden; + max-height: 110px; + mask-image: linear-gradient(180deg,#000 60%,transparent); } .thread-info-post-preview {