From d3c2698b83ded82177235ceae116af84218203f8 Mon Sep 17 00:00:00 2001 From: Stevani Andolo Date: Thu, 11 May 2023 11:12:41 +0800 Subject: [PATCH] MDL-76344 course: Fixed course image 'non image file' layout --- theme/boost/scss/moodle/course.scss | 5 ++++- theme/boost/style/moodle.css | 5 ++++- theme/classic/style/moodle.css | 5 ++++- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/theme/boost/scss/moodle/course.scss b/theme/boost/scss/moodle/course.scss index d77fb26a26d1d..8dd2fab660644 100644 --- a/theme/boost/scss/moodle/course.scss +++ b/theme/boost/scss/moodle/course.scss @@ -783,7 +783,10 @@ span.editinstructions { font-weight: $font-weight-bold; } -.coursebox .content .coursefile, +.coursebox .content .coursefile { + max-width: 100px; +} + .coursebox .content .courseimage img { max-width: 100px; max-height: 100px; diff --git a/theme/boost/style/moodle.css b/theme/boost/style/moodle.css index 309afc391f23f..63f7ea3f26195 100644 --- a/theme/boost/style/moodle.css +++ b/theme/boost/style/moodle.css @@ -28438,7 +28438,10 @@ span.editinstructions .alert-link { font-weight: 700; } -.coursebox .content .coursefile, +.coursebox .content .coursefile { + max-width: 100px; +} + .coursebox .content .courseimage img { max-width: 100px; max-height: 100px; diff --git a/theme/classic/style/moodle.css b/theme/classic/style/moodle.css index 82d19e5067461..0769900c37b59 100644 --- a/theme/classic/style/moodle.css +++ b/theme/classic/style/moodle.css @@ -28438,7 +28438,10 @@ span.editinstructions .alert-link { font-weight: 700; } -.coursebox .content .coursefile, +.coursebox .content .coursefile { + max-width: 100px; +} + .coursebox .content .courseimage img { max-width: 100px; max-height: 100px;