Permalink
Browse files

Move the dimensions of the collapse/uncollapse graphic image to CSS.

  • Loading branch information...
1 parent 658c8f3 commit 36b51cb5d1aee32b007915a4e944a62b29fdad4f defacer committed Feb 17, 2005
Showing with 3 additions and 1 deletion.
  1. +1 −1 lib/weblib.php
  2. +2 −0 theme/standard/styles_layout.css
View
@@ -3632,7 +3632,7 @@ function print_side_block_start($heading='', $attributes = array()) {
if ($heading) {
echo '<tr><th class="sideblockheading">'.$heading;
if (!empty($CFG->allowuserblockhiding)) {
- echo '<div class="hide-show"><a href="#" onclick="elementToggleHide(this, true, function(el) {return findParentNode(el, \'TABLE\', \'sideblock\'); } ); return false;"><img src="'.$CFG->pixpath.'/spacer.gif" alt="" height="11" width="11" class="hide-show-image" /></a></div>';
+ echo '<div class="hide-show"><a href="#" onclick="elementToggleHide(this, true, function(el) {return findParentNode(el, \'TABLE\', \'sideblock\'); } ); return false;"><img src="'.$CFG->pixpath.'/spacer.gif" alt="" class="hide-show-image" /></a></div>';
}
echo '</th></tr>';
}
@@ -732,6 +732,8 @@ table.calendar-controls .next
}
.sideblockheading .hide-show img.hide-show-image {
+ height:11px;
+ width:11px;
margin-top:0.25em;
}

0 comments on commit 36b51cb

Please sign in to comment.