Make comment input grow with new lines

This commit is contained in:
yflory 2020-04-29 15:24:25 +02:00
parent 4d6d9637ff
commit 5c64e1fa4e

View file

@ -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;
}