From 5c64e1fa4ed8bbee2a2d193b9a9d1c405b8d6ae6 Mon Sep 17 00:00:00 2001 From: yflory Date: Wed, 29 Apr 2020 15:24:25 +0200 Subject: [PATCH] Make comment input grow with new lines --- customize.dist/src/less2/include/comments.less | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/customize.dist/src/less2/include/comments.less b/customize.dist/src/less2/include/comments.less index 50164a05c..1abb1f3e4 100644 --- a/customize.dist/src/less2/include/comments.less +++ b/customize.dist/src/less2/include/comments.less @@ -29,9 +29,10 @@ align-items: flex-start; div.cp-textarea { flex: 1; - min-height: 50px; - height: 50px; - padding: 2px 8px; + min-height: 52px; // 22px per line + 8 (padding+border) + height: unset !important; + max-height: 140px; // 6 lines + padding: 3px 5px; } margin-bottom: 5px; }