MDL-76344 course: Fixed course image 'non image file' layout
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
@@ -783,6 +783,7 @@ span.editinstructions {
|
||||
font-weight: $font-weight-bold;
|
||||
}
|
||||
|
||||
.coursebox .content .coursefile,
|
||||
.coursebox .content .courseimage img {
|
||||
max-width: 100px;
|
||||
max-height: 100px;
|
||||
|
||||
@@ -28455,6 +28455,7 @@ span.editinstructions .alert-link {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.coursebox .content .coursefile,
|
||||
.coursebox .content .courseimage img {
|
||||
max-width: 100px;
|
||||
max-height: 100px;
|
||||
|
||||
@@ -28455,6 +28455,7 @@ span.editinstructions .alert-link {
|
||||
font-weight: 700;
|
||||
}
|
||||
|
||||
.coursebox .content .coursefile,
|
||||
.coursebox .content .courseimage img {
|
||||
max-width: 100px;
|
||||
max-height: 100px;
|
||||
|
||||
Reference in New Issue
Block a user