From 9d219acac9e6feb66d93893ce610773ca150bcf0 Mon Sep 17 00:00:00 2001 From: Michelle Melton Date: Fri, 15 Mar 2024 08:22:30 -0400 Subject: [PATCH] Add css class and style for Excel icon for export of participants for #579 --- participants.php | 2 +- styles.css | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/participants.php b/participants.php index a8846666..54a3b895 100644 --- a/participants.php +++ b/participants.php @@ -166,7 +166,7 @@ 'export' => 'xls', ]); $xlsstring = get_string('application/vnd.ms-excel', 'mimetypes'); - $xlsicon = html_writer::img($OUTPUT->image_url('f/spreadsheet'), $xlsstring, ['title' => $xlsstring]); + $xlsicon = html_writer::img($OUTPUT->image_url('f/spreadsheet'), $xlsstring, ['title' => $xlsstring, 'class' => 'mimetypeicon']); echo get_string('export', 'mod_zoom') . ': ' . html_writer::link($exporturl, $xlsicon); echo $OUTPUT->footer(); diff --git a/styles.css b/styles.css index f05a3c52..a695cb2f 100644 --- a/styles.css +++ b/styles.css @@ -42,3 +42,8 @@ border: none; } +#page-mod-zoom-participants .mimetypeicon { + width: 24px; + height: 24px; +} +