diff --git a/js/makegrid.js b/js/makegrid.js index 1a51eb90ee..aabe9b59cd 100644 --- a/js/makegrid.js +++ b/js/makegrid.js @@ -1614,6 +1614,9 @@ function PMA_makegrid(t, enableResize, enableReorder, enableVisib, enableGridEdi * Initialize grid ******************/ + // add relative position to table so that resize handlers are correctly positioned + $(t).css('position', 'relative'); + // wrap all data cells, except actions cell, with span $(t).find('th, td:not(:has(span))') .wrapInner(''); diff --git a/themes/original/css/theme_right.css.php b/themes/original/css/theme_right.css.php index 6cb423363f..3a7eeb598f 100644 --- a/themes/original/css/theme_right.css.php +++ b/themes/original/css/theme_right.css.php @@ -284,6 +284,9 @@ th.headerSortUp img.sortableIcon { background-position: 0 -1445px; width: 11px; /* Same as s_desc */ th.headerSortDown img.sortableIcon { background-position: 0 -1528px; width: 11px; height: 9px; } +/* Fix position */ +.ic_more { vertical-align: middle; } + /******************************************************************************/ /* classes */ .clearfloat { @@ -2407,10 +2410,6 @@ span.cm-number { padding: 1px 3px !important; } -.data { - position: relative; -} - .cHide { background: #D3DCE3 url(getImgPath(); ?>col_hide.png); color: #CCC; diff --git a/themes/pmahomme/css/theme_right.css.php b/themes/pmahomme/css/theme_right.css.php index 1103bfa770..6da96cfd23 100644 --- a/themes/pmahomme/css/theme_right.css.php +++ b/themes/pmahomme/css/theme_right.css.php @@ -72,7 +72,6 @@ h2 a img{display:inline;} .data{ margin: 0 0 12px 0; - position: relative; } h3 { @@ -468,6 +467,8 @@ th.headerSortUp img.sortableIcon { background-position: -1516px 0; } /* Same as s_desc */ th.headerSortDown img.sortableIcon { background-position: 0 0; } +/* Fix position */ +.ic_more { vertical-align: middle; } /******************************************************************************/ /* classes */