mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-05-20 03:19:13 -04:00
Fix sidebar block admin layout. Don't hardcode block list height, use the equal_heights() function to set it.
This commit is contained in:
@@ -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",
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user