From ec8a7939a084d7464a5b0ef6ad1c6c83591ae5b0 Mon Sep 17 00:00:00 2001 From: Dan Marsden Date: Tue, 9 Jul 2013 14:15:04 +1200 Subject: [PATCH] CONTRIB-3992 fix padding between mon-sun checkboxes on add session form --- add_form.php | 2 +- styles.css | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/add_form.php b/add_form.php index 4a96ca8..ae09d6c 100644 --- a/add_form.php +++ b/add_form.php @@ -132,7 +132,7 @@ class mod_attendance_add_form extends moodleform { if ($CFG->calendar_startwday !== '0') { // Week start from sunday. $sdays[] =& $mform->createElement('checkbox', 'Sun', '', get_string('sunday', 'calendar')); } - $mform->addGroup($sdays, 'sdays', get_string('sessiondays', 'attendance'), array(' '), true); + $mform->addGroup($sdays, 'sdays', get_string('sessiondays', 'attendance'), array('     '), true); $mform->disabledIf('sdays', 'addmultiply', 'notchecked'); $period = array(1=>1, 2, 3, 4, 5, 6, 7, 8); diff --git a/styles.css b/styles.css index 6e00166..f31ea62 100644 --- a/styles.css +++ b/styles.css @@ -122,4 +122,7 @@ .path-mod-attendance .attsessions_manage_table .action-icon img.smallicon { margin-left: 5px; +} +#page-mod-attendance-sessions input[type="checkbox"] { + margin-right: 2px; } \ No newline at end of file