MDL-62454 theme_boost: numerical qtype answer inline

This commit is contained in:
Bas Brands
2019-02-21 14:38:32 +01:00
parent 41a15e6d73
commit a71f1f4336
2 changed files with 2 additions and 6 deletions
+2 -2
View File
@@ -48,8 +48,8 @@ class qtype_numerical_renderer extends qtype_renderer {
'name' => $inputname,
'value' => $currentanswer,
'id' => $inputname,
'size' => 80,
'class' => 'form-control',
'size' => 30,
'class' => 'form-control d-inline',
);
if ($options->readonly) {
-4
View File
@@ -3,10 +3,6 @@
display: inline;
}
.que.numerical .answer input[type="text"] {
width: 30%;
}
/*rtl:ignore*/
#page-question-type-numerical input[name="unitpenalty"],
#page-question-type-numerical input[name^="answer"],