From 8a2a4c2b519aec6760c14bf7f033cbfa07f4147a Mon Sep 17 00:00:00 2001 From: Maximilian Grundke Date: Wed, 23 Aug 2017 17:52:28 +0200 Subject: [PATCH] Add container for new comment visuals --- app/assets/stylesheets/request-for-comments.css.scss | 5 +++++ app/views/exercises/_comment_dialogcontent.html.slim | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/app/assets/stylesheets/request-for-comments.css.scss b/app/assets/stylesheets/request-for-comments.css.scss index 63027531..562c02f4 100644 --- a/app/assets/stylesheets/request-for-comments.css.scss +++ b/app/assets/stylesheets/request-for-comments.css.scss @@ -69,6 +69,11 @@ p.comment { h5 { margin-top: 0px; } + + .container { + min-height: 300px; + overflow-y: auto; + } } #myComment { diff --git a/app/views/exercises/_comment_dialogcontent.html.slim b/app/views/exercises/_comment_dialogcontent.html.slim index 988c5311..6018fbd0 100644 --- a/app/views/exercises/_comment_dialogcontent.html.slim +++ b/app/views/exercises/_comment_dialogcontent.html.slim @@ -1,6 +1,6 @@ #otherComments h5 =t('exercises.implement.comment.others') - pre#otherCommentsTextfield + .container #myComment h5 =t('exercises.implement.comment.addyours')