Height of text area automatically adjusted
- This topic has 3 replies, 2 voices, and was last updated 10 years, 8 months ago by .
Viewing 3 reply threads
Viewing 3 reply threads
- You must be logged in to reply to this topic.
Home › Forums › Comment box for SharePoint › Height of text area automatically adjusted
Tagged: auto-adjust, height
Dear Alexander,
Can the height of the CommentBox be automatically adjusted to the content, instead of a fixed height in number of px?
Thank you for your support !!
I’ll add this to the to-do-list for the next version. If you use for example Google Chrome (or other webkit browsers) you a resize handle in the bottom right corner of the textarea by default.
Alexander
Dear Alexander,
I meant the height of the existing comments (already posted) to avoid to have a scrollbar on the right inside the comment.
Thank you for your time !!
Hi,
Sorry for the delay. To change this from the default 500px height you must open the file “spjs-cBox.css” and edit this snippet:
/* The comment body */
div.cBoxCommentBody{
font-family:Calibri;
font-size:12px;
max-height:500px;
overflow:auto;
}
Change (or remove) the “max-height” attribute.
Alexander