diff --git a/calendar/renderer.php b/calendar/renderer.php index 49ca5fe8f0b7e..fbbc848ba9734 100644 --- a/calendar/renderer.php +++ b/calendar/renderer.php @@ -461,13 +461,13 @@ public function show_month_detailed(calendar_information $calendar, moodle_url $ $dayweek = $startwday; // Create an array of all the week days. - $wdays = array(0 => ''. get_string('sunday', 'calendar'). '', - 1 => ''. get_string('monday', 'calendar'). '', - 2 => ''. get_string('tuesday', 'calendar'). '', - 3 => ''. get_string('wednesday', 'calendar'). '', - 4 => ''. get_string('thursday', 'calendar'). '', - 5 => ''. get_string('friday', 'calendar'). '', - 6 => ''. get_string('saturday', 'calendar'). ''); + $wdays = array(0 => ''. get_string('sun', 'calendar'). '', + 1 => ''. get_string('mon', 'calendar'). '', + 2 => ''. get_string('tue', 'calendar'). '', + 3 => ''. get_string('wed', 'calendar'). '', + 4 => ''. get_string('thu', 'calendar'). '', + 5 => ''. get_string('fri', 'calendar'). '', + 6 => ''. get_string('sat', 'calendar'). ''); // Loop only if the day offset is greater than 0. // This loop involves shifting the days around until the desired start day diff --git a/theme/bootstrapbase/less/moodle/calendar.less b/theme/bootstrapbase/less/moodle/calendar.less index 1fa72bb732c8e..06edeee2caed2 100644 --- a/theme/bootstrapbase/less/moodle/calendar.less +++ b/theme/bootstrapbase/less/moodle/calendar.less @@ -184,3 +184,10 @@ .block .content h3.eventskey { margin-top: 0.5em; } +@media (min-width: 768px) { + + #page-calender-view .container fluid { + min-width: 1024px; + } + +}