changed inline styles to classes to be able to handle the font sizes with the CSS files,
This commit is contained in:
@@ -63,7 +63,7 @@ class block_calendar_upcoming extends block_base {
|
||||
}
|
||||
|
||||
if (empty($this->content->text)) {
|
||||
$this->content->text = '<div style="font-size: 0.8em; text-align: center;">'.
|
||||
$this->content->text = '<div class="post">'.
|
||||
get_string('noupcomingevents', 'calendar').'</div>';
|
||||
}
|
||||
|
||||
|
||||
@@ -1,4 +1,3 @@
|
||||
.block_calendar_upcoming .event .date {
|
||||
text-align:right;
|
||||
font-size:0.8em;
|
||||
}
|
||||
|
||||
@@ -290,7 +290,7 @@
|
||||
|
||||
$paging = glossary_get_paging_bar($count, $page, $entriesbypage, "view.php?id=$id&mode=$mode&hook=$hook&sortkey=$sortkey&sortorder=$sortorder&fullsearch=$fullsearch&",9999,10,' ', get_string("allentries","glossary"), -1);
|
||||
|
||||
echo '<div style="font-size: smaller;">';
|
||||
echo '<div class="paging">';
|
||||
echo $paging;
|
||||
echo '</div>';
|
||||
|
||||
@@ -383,7 +383,7 @@
|
||||
|
||||
if ( $paging ) {
|
||||
echo '<hr />';
|
||||
echo '<div style="font-size: smaller;">';
|
||||
echo '<div class="paging">';
|
||||
echo $paging;
|
||||
echo '</div>';
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user