mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 02:36:16 +01:00
decreased full chat height by 1px
This commit is contained in:
@@ -446,8 +446,8 @@ define('forum/chats', [
|
|||||||
Chats.resizeMainWindow = function () {
|
Chats.resizeMainWindow = function () {
|
||||||
var viewportHeight = $(window).height();
|
var viewportHeight = $(window).height();
|
||||||
var fromTop = components.get('chat/main-wrapper').offset().top || components.get('chat/nav-wrapper').offset().top;
|
var fromTop = components.get('chat/main-wrapper').offset().top || components.get('chat/nav-wrapper').offset().top;
|
||||||
|
$('.chats-full').height(viewportHeight - fromTop - 1);
|
||||||
|
|
||||||
$('.chats-full').height(viewportHeight - fromTop);
|
|
||||||
Chats.setActive();
|
Chats.setActive();
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user