Height of text area automatically adjusted

Forums Comment box for SharePoint Height of text area automatically adjusted

Viewing 3 reply threads
  • Author
    Posts
    • #10573
      William
      Participant

      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 !!

    • #10617
      Alexander Bautz
      Keymaster

      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

    • #10702
      William
      Participant

      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 !!

    • #10803
      Alexander Bautz
      Keymaster

      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

Viewing 3 reply threads
  • You must be logged in to reply to this topic.