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 {