Make comment input grow with new lines

pull/1/head
yflory 5 years ago
parent 4d6d9637ff
commit 5c64e1fa4e

@ -29,9 +29,10 @@
align-items: flex-start; align-items: flex-start;
div.cp-textarea { div.cp-textarea {
flex: 1; flex: 1;
min-height: 50px; min-height: 52px; // 22px per line + 8 (padding+border)
height: 50px; height: unset !important;
padding: 2px 8px; max-height: 140px; // 6 lines
padding: 3px 5px;
} }
margin-bottom: 5px; margin-bottom: 5px;
} }

Loading…
Cancel
Save