mirror of
https://github.com/moodle/moodle.git
synced 2025-04-05 08:23:01 +02:00
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:
parent
a5ced492bd
commit
ee1a5f57b2
@ -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 {
|
||||
}
|
||||
|
||||
|
@ -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)';
|
||||
|
Loading…
x
Reference in New Issue
Block a user