Minor fixes

Firefox buggy scroll on prepend fix
This commit is contained in:
Igor Zhukov 2015-01-02 16:49:52 +01:00
parent 7a54610f53
commit b024186a5c
5 changed files with 13 additions and 9 deletions

View File

@ -727,7 +727,7 @@ a.tg_radio_on:hover i.icon-radio {
/* Login page */
.login_head_bg {
background: #537c9a;
background: #5682a3;
height: 226px;
}
.login_page {

View File

@ -4,7 +4,7 @@
max-width: 1010px;
margin: 0 auto;
height: 48px;
background: #517b9b;
background: #5682a3;
}
.tg_head_logo_wrap {
float: left;
@ -28,7 +28,7 @@
.tg_head_btn:hover {
color: #FFF;
text-decoration: none;
background: #3f6c8c;
background: #497799;
}
.tg_head_logo_dropdown .dropdown-toggle {
@ -237,6 +237,7 @@
font-size: 13px;
line-height: 20px;
float: left;
font-weight: bold;
}
.icon-filter-photos,
.icon-filter-video,
@ -542,9 +543,9 @@ a.footer_link.active:active {
.im_history_typing {
font-size: 11px;
color: #999;
max-width: 526px;
max-width: 556px;
margin: 0 auto;
padding: 0 77px 0 71px;
padding: 0 81px 0 85px;
}
.im_history_typing a.im_history_typing_author {
color: #999;
@ -1296,6 +1297,9 @@ a.im_panel_peer_photo .peer_initials {
.im_grouped_short .im_content_message_wrap {
margin: 6px 10px 6px 16px
}
.im_grouped_short:last-child .im_content_message_wrap {
margin-bottom: 8px;
}
@media (min-width: 901px) {
.im_message_wrap {
position: relative;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 12 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 5.9 KiB

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -858,10 +858,10 @@ angular.module('myApp.directives', ['myApp.filters'])
var pr = parseInt($(scrollableWrap).css('paddingRight'))
$(scrollableWrap).addClass('im_history_to_bottom');
scrollableWrap.scrollHeight; // Some strange Chrome bug workaround
$(scrollable).css({bottom: 0, marginLeft: -Math.ceil(pr / 2)});
$(scrollable).css({bottom: 0, paddingRight: pr});
onContentLoaded(function () {
$(scrollableWrap).removeClass('im_history_to_bottom');
$(scrollable).css({bottom: '', marginLeft: ''});
$(scrollable).css({bottom: '', paddingRight: ''});
updateSizes(true);
moreNotified = false;
lessNotified = false;
@ -889,11 +889,11 @@ angular.module('myApp.directives', ['myApp.filters'])
$(scrollableWrap).addClass('im_history_to_bottom');
scrollableWrap.scrollHeight; // Some strange Chrome bug workaround
$(scrollable).css({bottom: -(sh - st - ch), marginLeft: -Math.ceil(pr / 2)});
$(scrollable).css({bottom: -(sh - st - ch), paddingRight: pr});
var upd = function () {
$(scrollableWrap).removeClass('im_history_to_bottom');
$(scrollable).css({bottom: '', marginLeft: ''});
$(scrollable).css({bottom: '', paddingRight: ''});
if (scrollTopInitial >= 0) {
changeScroll();
} else {