This commit is contained in:
Jun Pataleta 2023-05-05 10:35:16 +08:00
commit 87edadbb0c
4 changed files with 4 additions and 1 deletions

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;

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;

View File

@ -28438,6 +28438,7 @@ span.editinstructions .alert-link {
font-weight: 700;
}
.coursebox .content .coursefile,
.coursebox .content .courseimage img {
max-width: 100px;
max-height: 100px;

View File

@ -28438,6 +28438,7 @@ span.editinstructions .alert-link {
font-weight: 700;
}
.coursebox .content .coursefile,
.coursebox .content .courseimage img {
max-width: 100px;
max-height: 100px;