Fixed problem with fixed header

Former-commit-id: 9bf6d824b94f301a804511c106f6465ce9dff0fa
This commit is contained in:
Daniel Maya 2019-04-03 16:48:28 +02:00
parent 54f6f595dd
commit 8923c53ec4
1 changed files with 1 additions and 3 deletions

View File

@ -591,9 +591,7 @@ if ($config['menu_type'] == 'classic') {
if (fixed_header) {
$('div#head').addClass('fixed_header');
$('div#page')
.css('padding-top', $('div#head').innerHeight() + 'px')
.css('position', 'relative');
$('div#main').css('padding-top', $('div#head').innerHeight() + 'px');
}
check_new_chats_icon('icon_new_messages_chat');