-
Improvement
-
Resolution: Fixed
-
Minor
-
2.4.1
-
None
-
MOODLE_24_STABLE
-
MOODLE_24_STABLE
Hi Gareth
First of all, thank you for a great module!
The function start_toggle_section_list creates inline css, which makes it difficult to style the elements in an other way than the module defines. Instead of using inline css the module should rather add classes to the elements and then use the css defined within the module.
And example could be:
if ($this->mymobiletheme == false)
{ $class .= ' float_left'; }$attributes['class'] = $class;
return html_writer::start_tag('ul', $attributes);
The styles.css should then define the following:
.course-content ul.float_left
{ float: left; }