mirror of
https://github.com/moodle/moodle.git
synced 2025-08-09 10:56:56 +02:00
MDL-83128 blocks: consistently style/align block list icons.
This commit is contained in:
parent
a798b1db39
commit
430020f3ba
1 changed files with 1 additions and 1 deletions
|
@ -1532,7 +1532,7 @@ class core_renderer extends renderer_base {
|
||||||
foreach ($items as $key => $string) {
|
foreach ($items as $key => $string) {
|
||||||
$item = html_writer::start_tag('li', ['class' => 'r' . $row]);
|
$item = html_writer::start_tag('li', ['class' => 'r' . $row]);
|
||||||
if (!empty($icons[$key])) { // test if the content has an assigned icon
|
if (!empty($icons[$key])) { // test if the content has an assigned icon
|
||||||
$item .= html_writer::tag('div', $icons[$key], ['class' => 'icon column c0']);
|
$item .= html_writer::tag('div', $icons[$key], ['class' => 'column c0 icon-size-3']);
|
||||||
}
|
}
|
||||||
$item .= html_writer::tag('div', $string, ['class' => 'column c1']);
|
$item .= html_writer::tag('div', $string, ['class' => 'column c1']);
|
||||||
$item .= html_writer::end_tag('li');
|
$item .= html_writer::end_tag('li');
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue