* improve dashboard UI.

This commit is contained in:
Catouse
2016-05-04 10:34:51 +08:00
parent 6ba5b60e09
commit 3154ef97f2
+1 -1
View File
@@ -84,7 +84,7 @@ function initTableHeader()
var $header = $panel.children('.table-header-fixed');
if(!$header.length)
{
$header = $('<div class="table-header-fixed"><table class="table table-fixed"></table></div>').css('right', $panel.width() - $table.width());
$header = $('<div class="table-header-fixed"><table class="table table-fixed"></table></div>').css('right', $panel.width() - $table.width()).css('min-width', $table.width());
$header.find('.table').addClass($table.attr('class')).append($table.find('thead').css('visibility', 'hidden').clone().css('visibility', 'visible'));
$panel.addClass('with-fixed-header').append($header);
var $heading = $panel.children('.panel-heading');