MDL-76344 course: Fixed course image 'non image file' layout

This commit is contained in:
Stevani Andolo
2023-05-04 10:28:03 +08:00
parent 4f625c1e2e
commit cd3643a149
4 changed files with 4 additions and 1 deletions
+1 -1
View File
@@ -1218,7 +1218,7 @@ class core_course_renderer extends plugin_renderer_base {
html_writer::tag('span', $file->get_filename(), ['class' => 'fp-filename']);
$contentfiles .= html_writer::tag('span',
html_writer::link($url, $filename),
['class' => 'coursefile fp-filename-icon']);
['class' => 'coursefile fp-filename-icon text-break']);
}
}
return $contentimages . $contentfiles;
+1
View File
@@ -783,6 +783,7 @@ span.editinstructions {
font-weight: $font-weight-bold;
}
.coursebox .content .coursefile,
.coursebox .content .courseimage img {
max-width: 100px;
max-height: 100px;
+1
View File
@@ -28455,6 +28455,7 @@ span.editinstructions .alert-link {
font-weight: 700;
}
.coursebox .content .coursefile,
.coursebox .content .courseimage img {
max-width: 100px;
max-height: 100px;
+1
View File
@@ -28455,6 +28455,7 @@ span.editinstructions .alert-link {
font-weight: 700;
}
.coursebox .content .coursefile,
.coursebox .content .courseimage img {
max-width: 100px;
max-height: 100px;