diff --git a/calendar/lib.php b/calendar/lib.php index b9d2dff524d..d8386a9d51c 100644 --- a/calendar/lib.php +++ b/calendar/lib.php @@ -744,7 +744,7 @@ function calendar_top_controls($type, $data) { $content .= '
'.userdate($time, get_string('strftimemonthyear'))."
\n"; break; case 'display': - $content .= '
'.userdate($time, get_string('strftimemonthyear'))."
\n"; + $content .= '

'.userdate($time, get_string('strftimemonthyear'))."

\n"; break; case 'month': list($prevmonth, $prevyear) = calendar_sub_month($data['m'], $data['y']); diff --git a/theme/standard/styles_fonts.css b/theme/standard/styles_fonts.css index 7b7540d9ecf..7c22133b840 100644 --- a/theme/standard/styles_fonts.css +++ b/theme/standard/styles_fonts.css @@ -453,8 +453,15 @@ a.skip-block { } #calendar h1 { - font-size:1.0em; - margin:0; + font-size:1.0em; + margin:0; +} + +#calendar .minicalendarblock h2 { + font-size:1.0em; + margin:0; + font-weight:normal; + text-align:center; } table.minicalendar {