ease transition between fullscreen and inline view for small screens

This commit is contained in:
Mario Vavti
2016-04-03 00:04:05 +02:00
parent 72d995d35f
commit 3edd4ce78f
3 changed files with 10 additions and 11 deletions

View File

@@ -119,7 +119,6 @@ $(window).resize(function () {
else {
adjustInlineTopBarHeight();
}
$('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight'));
});
$('#chat-form').submit(function(ev) {
@@ -197,7 +196,7 @@ function addmailtext(data) {
}
function adjustFullscreenTopBarHeight() {
$('#chatTopBar').height($(window).height() - $('#chatBottomBar').outerHeight(true) - $('.section-title-wrapper').outerHeight(true) - 23);
$('#chatTopBar').height($(window).height() - $('#chatBottomBar').outerHeight(true) - $('.section-title-wrapper').outerHeight(true) - 16);
$('#chatTopBar').scrollTop($('#chatTopBar').prop('scrollHeight'));
}