Remove artifical limit for navigation width

I have no clue what were the original intentions here, but this doesn't
make sense at all.

Fixes #13816

Signed-off-by: Michal Čihař <michal@cihar.com>
This commit is contained in:
Michal Čihař 2017-11-28 15:36:12 +01:00
parent 216f403c28
commit 2e03d11e34

View File

@ -1117,9 +1117,6 @@ var ResizeHandler = function () {
var resizer_width = $resizer.width();
var $collapser = $('#pma_navigation_collapser');
var windowWidth = $(window).width();
if (pos > 240 && windowWidth > 768) {
pos = 241;
}
$('#pma_navigation').width(pos);
$('body').css('margin-' + this.left, pos + 'px');
$('#floating_menubar, #pma_console')