mirror of
https://github.com/moodle/moodle.git
synced 2025-01-18 22:08:20 +01:00
MDL-26113 Lesson: temporary fix of page content alignment
That rendering method should not use cell style attribute at all. Instead, the alignment should be controlled by CSS. However, this will require more massive changes in the Lesson code to be done by the module maintainer. As a temporary fix, left alignment is set as it usually matches the layout that students see.
This commit is contained in:
parent
99faefb29b
commit
c76cd2ede1
@ -283,7 +283,7 @@ class mod_lesson_renderer extends plugin_renderer_base {
|
||||
|
||||
$cell = new html_table_cell();
|
||||
$cell->colspan = 2;
|
||||
$cell->style = 'text-align:center';
|
||||
$cell->style = 'text-align:left';
|
||||
$cell->text = $page->contents;
|
||||
$pagetable->data[] = new html_table_row(array($cell));
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user