From 3260294bfe748aacee27c5ba16076254eea00a6c Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Wed, 28 Jun 2017 10:17:26 +1200 Subject: [PATCH] Improve css on status set page. --- renderer.php | 3 ++- styles.css | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/renderer.php b/renderer.php index b3d0163..0c69ff1 100644 --- a/renderer.php +++ b/renderer.php @@ -1778,7 +1778,8 @@ class mod_attendance_renderer extends plugin_renderer_base { 'name' => $name, 'size' => $size, 'maxlength' => $maxlength, - 'value' => $value); + 'value' => $value, + 'class' => 'form-control'); return html_writer::empty_tag('input', $attributes); } diff --git a/styles.css b/styles.css index d0c5713..4ba7c2f 100644 --- a/styles.css +++ b/styles.css @@ -196,4 +196,9 @@ #page-mod-attendance-view .averageattendance { font-weight: bold; +} + +#page-mod-attendance-preferences .form-control { + width: inherit; + display: inherit; } \ No newline at end of file