Commit 91a504a5 by muzaffaryousaf

fixed the multi-line issue for criterion prompt, criterion option text,

peer assessment feedback and self assessment feedback.

TNL-814
parent 51df3aa6
...@@ -171,7 +171,9 @@ ...@@ -171,7 +171,9 @@
</h6> </h6>
<div class="feedback__value"> <div class="feedback__value">
{{ feedback }} <div class="value">
<p>{{ feedback }}</p>
</div>
</div> </div>
</li> </li>
{% endfor %} {% endfor %}
...@@ -182,7 +184,9 @@ ...@@ -182,7 +184,9 @@
</h6> </h6>
<div class="feedback__value"> <div class="feedback__value">
{{ criterion.self_feedback }} <div class="value">
<p>{{ criterion.self_feedback }}</p>
</div>
</div> </div>
</li> </li>
{% endif %} {% endif %}
......
This source diff could not be displayed because it is too large. You can view the blob instead.
...@@ -176,6 +176,7 @@ ...@@ -176,6 +176,7 @@
@extend %t-heading; @extend %t-heading;
margin-left: ($baseline-h/4); margin-left: ($baseline-h/4);
color: $heading-color; color: $heading-color;
white-space: pre-wrap;
} }
} }
...@@ -245,6 +246,7 @@ ...@@ -245,6 +246,7 @@
} }
.answer__tip { .answer__tip {
white-space: pre-wrap;
margin-bottom: ($baseline-v/2); margin-bottom: ($baseline-v/2);
@extend %copy-3; @extend %copy-3;
......
...@@ -634,6 +634,7 @@ ...@@ -634,6 +634,7 @@
.question__title__copy { .question__title__copy {
margin-left: 0; margin-left: 0;
white-space: pre-wrap;
} }
textarea { textarea {
...@@ -859,6 +860,7 @@ ...@@ -859,6 +860,7 @@
@extend %t-heading; @extend %t-heading;
margin-left: ($baseline-h/4); margin-left: ($baseline-h/4);
color: $heading-color; color: $heading-color;
white-space: pre-wrap;
} }
.question__score { .question__score {
...@@ -942,6 +944,9 @@ ...@@ -942,6 +944,9 @@
display: block; display: block;
margin-bottom: ($baseline-v/2); margin-bottom: ($baseline-v/2);
color: $heading-primary-color; color: $heading-primary-color;
.value {
white-space: pre-wrap;
}
} }
.answer__value__value { .answer__value__value {
...@@ -1015,6 +1020,7 @@ ...@@ -1015,6 +1020,7 @@
.feedback__value { .feedback__value {
@extend %copy-3; @extend %copy-3;
display: block; display: block;
white-space: pre-wrap;
} }
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment