MDL-84379 theme_boost: Fix course management page layout

This commit is contained in:
Laurent David 2025-02-11 15:18:04 +01:00
parent 7a318d5c85
commit d0483c0e6c
4 changed files with 1 additions and 16 deletions

View File

@ -839,7 +839,7 @@ class core_course_management_renderer extends plugin_renderer_base {
protected function detail_pair($key, $value, $class ='') {
$html = html_writer::start_div('detail-pair row yui3-g '.preg_replace('#[^a-zA-Z0-9_\-]#', '-', $class));
$html .= html_writer::div(html_writer::span($key), 'pair-key col-md-3 yui3-u-1-4 fw-bold');
$html .= html_writer::div(html_writer::span($value), 'pair-value col-md-8 yui3-u-3-4');
$html .= html_writer::div(html_writer::div($value, 'd-flex'), 'pair-value col-md-8 yui3-u-3-4');
$html .= html_writer::end_div();
return $html;
}

View File

@ -215,13 +215,6 @@
}
}
.bulk-actions .detail-pair {
> * {
display: block;
width: 100%;
}
}
.listing-pagination {
text-align: center;

View File

@ -31677,10 +31677,6 @@ table.calendartable caption {
#course-category-listings .detail-pair .pair-value select {
max-width: 100%;
}
#course-category-listings .bulk-actions .detail-pair > * {
display: block;
width: 100%;
}
#course-category-listings .listing-pagination {
text-align: center;
}

View File

@ -31683,10 +31683,6 @@ table.calendartable caption {
#course-category-listings .detail-pair .pair-value select {
max-width: 100%;
}
#course-category-listings .bulk-actions .detail-pair > * {
display: block;
width: 100%;
}
#course-category-listings .listing-pagination {
text-align: center;
}