MDL-79863 qtype_ordering: qtype_ordering fix display of number when showing correct order of items in a horizontal list

This commit is contained in:
Gordon Bateson 2016-01-02 16:54:59 +09:00 committed by Mathew May
parent a5ced492bd
commit ee1a5f57b2
2 changed files with 12 additions and 4 deletions

View File

@ -69,14 +69,22 @@
margin-top : 4px;
}
.que.ordering div.rightanswer ol.correctorder {
overflow: auto; /* cover the floating LI elements */
/*
force containing DIV to cover the floating LI elements
Note: if you add "overflow:auto; to "ol.correctorder"
then the numbers for the <LI> elements disappear !!
*/
.que.ordering div.rightanswer {
overflow: auto;
}
.que.ordering div.rightanswer ol.correctorder li.horizontal {
float : left;
margin-left : 24px;
margin-right : 24px;
}
.que.ordering div.rightanswer ol.correctorder li.horizontal:first-child {
margin-left : 0px;
}
.que.ordering div.rightanswer ol.correctorder li.vertical {
}

View File

@ -31,5 +31,5 @@ $plugin->cron = 0;
$plugin->component = 'qtype_ordering';
$plugin->maturity = MATURITY_STABLE;
$plugin->requires = 2010112400; // Moodle 2.0
$plugin->version = 2016010237;
$plugin->release = '2016-01-02 (37)';
$plugin->version = 2016010238;
$plugin->release = '2016-01-02 (38)';