diff --git a/resources/views/admin/pages/index.blade.php b/resources/views/admin/pages/index.blade.php index c013a1a..02b0d91 100644 --- a/resources/views/admin/pages/index.blade.php +++ b/resources/views/admin/pages/index.blade.php @@ -192,7 +192,7 @@ let offsetTop = $('.msg-list-item.active').position().top $(".msg-list").animate({ scrollTop: offsetTop - 20}, 1) - $(".msg-chat-list").animate({ scrollTop: $(".msg-chat-list")[0].scrollHeight - $('.msg-chat-list').height() }, 1) + $(".msg-chat-list").animate({ scrollTop: $(".msg-chat-list")[0].scrollHeight - $('.msg-chat-list').height() + 100 }, 1) $('.msg-image').on('click', function (e) { $('.image').click();