Fix sidebar block admin layout. Don't hardcode block list height, use the equal_heights() function to set it.

This commit is contained in:
Chad Kieffer
2009-10-18 23:38:27 -06:00
parent f421593c1d
commit b2d0b3ebbb
2 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,9 @@
<?php defined("SYSPATH") or die("No direct script access.") ?>
<script type="text/javascript">
$(document).ready(function(){
$(".g-blocks-list").equal_heights();
});
$(function() {
$(".g-blocks-list ul").sortable({
connectWith: ".g-sortable-blocks",

View File

@@ -526,12 +526,11 @@ li.g-default-group h4, li.g-default-group .g-user {
/* Block admin ~~~~~~~~~~~~~~~~~~~~~~~~~ */
#g-admin-blocks .g-block {
margin-right: 2em;
height: 200px;
width: 30% !important;
clear: none;
width: 30%;
}
#g-admin-blocks .g-block li {
#g-admin-blocks .g-block .g-draggable {
background: #e7e7e7;
/*border: 1px solid #fff;*/
margin-bottom: 1em;