diff --git a/app/assets/stylesheets/request-for-comments.css.scss b/app/assets/stylesheets/request-for-comments.css.scss index 6448e6e7..63027531 100644 --- a/app/assets/stylesheets/request-for-comments.css.scss +++ b/app/assets/stylesheets/request-for-comments.css.scss @@ -64,3 +64,17 @@ p.comment { overflow: hidden; margin-bottom: 10px; } + +#otherComments { + h5 { + margin-top: 0px; + } +} + +#myComment { + margin-bottom: 10px; + + textarea { + resize: none; + } +} \ No newline at end of file diff --git a/app/views/exercises/_comment_dialogcontent.html.slim b/app/views/exercises/_comment_dialogcontent.html.slim index 4c78035a..988c5311 100644 --- a/app/views/exercises/_comment_dialogcontent.html.slim +++ b/app/views/exercises/_comment_dialogcontent.html.slim @@ -1,9 +1,10 @@ -h5 =t('exercises.implement.comment.addyours') - -textarea.form-control(style='resize:none;') #otherComments h5 =t('exercises.implement.comment.others') pre#otherCommentsTextfield -p = '' + +#myComment + h5 =t('exercises.implement.comment.addyours') + textarea.form-control + button#addCommentButton.btn.btn-block.btn-primary(type='button') =t('exercises.implement.comment.addCommentButton') button#removeAllButton.btn.btn-block.btn-warning(type='button') =t('exercises.implement.comment.removeAllOnLine') \ No newline at end of file