Minor fixes
Firefox buggy scroll on prepend fix
This commit is contained in:
parent
7a54610f53
commit
b024186a5c
@ -727,7 +727,7 @@ a.tg_radio_on:hover i.icon-radio {
|
|||||||
|
|
||||||
/* Login page */
|
/* Login page */
|
||||||
.login_head_bg {
|
.login_head_bg {
|
||||||
background: #537c9a;
|
background: #5682a3;
|
||||||
height: 226px;
|
height: 226px;
|
||||||
}
|
}
|
||||||
.login_page {
|
.login_page {
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
max-width: 1010px;
|
max-width: 1010px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 48px;
|
height: 48px;
|
||||||
background: #517b9b;
|
background: #5682a3;
|
||||||
}
|
}
|
||||||
.tg_head_logo_wrap {
|
.tg_head_logo_wrap {
|
||||||
float: left;
|
float: left;
|
||||||
@ -28,7 +28,7 @@
|
|||||||
.tg_head_btn:hover {
|
.tg_head_btn:hover {
|
||||||
color: #FFF;
|
color: #FFF;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
background: #3f6c8c;
|
background: #497799;
|
||||||
}
|
}
|
||||||
|
|
||||||
.tg_head_logo_dropdown .dropdown-toggle {
|
.tg_head_logo_dropdown .dropdown-toggle {
|
||||||
@ -237,6 +237,7 @@
|
|||||||
font-size: 13px;
|
font-size: 13px;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
float: left;
|
float: left;
|
||||||
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
.icon-filter-photos,
|
.icon-filter-photos,
|
||||||
.icon-filter-video,
|
.icon-filter-video,
|
||||||
@ -542,9 +543,9 @@ a.footer_link.active:active {
|
|||||||
.im_history_typing {
|
.im_history_typing {
|
||||||
font-size: 11px;
|
font-size: 11px;
|
||||||
color: #999;
|
color: #999;
|
||||||
max-width: 526px;
|
max-width: 556px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
padding: 0 77px 0 71px;
|
padding: 0 81px 0 85px;
|
||||||
}
|
}
|
||||||
.im_history_typing a.im_history_typing_author {
|
.im_history_typing a.im_history_typing_author {
|
||||||
color: #999;
|
color: #999;
|
||||||
@ -1296,6 +1297,9 @@ a.im_panel_peer_photo .peer_initials {
|
|||||||
.im_grouped_short .im_content_message_wrap {
|
.im_grouped_short .im_content_message_wrap {
|
||||||
margin: 6px 10px 6px 16px
|
margin: 6px 10px 6px 16px
|
||||||
}
|
}
|
||||||
|
.im_grouped_short:last-child .im_content_message_wrap {
|
||||||
|
margin-bottom: 8px;
|
||||||
|
}
|
||||||
@media (min-width: 901px) {
|
@media (min-width: 901px) {
|
||||||
.im_message_wrap {
|
.im_message_wrap {
|
||||||
position: relative;
|
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 |
@ -858,10 +858,10 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
var pr = parseInt($(scrollableWrap).css('paddingRight'))
|
var pr = parseInt($(scrollableWrap).css('paddingRight'))
|
||||||
$(scrollableWrap).addClass('im_history_to_bottom');
|
$(scrollableWrap).addClass('im_history_to_bottom');
|
||||||
scrollableWrap.scrollHeight; // Some strange Chrome bug workaround
|
scrollableWrap.scrollHeight; // Some strange Chrome bug workaround
|
||||||
$(scrollable).css({bottom: 0, marginLeft: -Math.ceil(pr / 2)});
|
$(scrollable).css({bottom: 0, paddingRight: pr});
|
||||||
onContentLoaded(function () {
|
onContentLoaded(function () {
|
||||||
$(scrollableWrap).removeClass('im_history_to_bottom');
|
$(scrollableWrap).removeClass('im_history_to_bottom');
|
||||||
$(scrollable).css({bottom: '', marginLeft: ''});
|
$(scrollable).css({bottom: '', paddingRight: ''});
|
||||||
updateSizes(true);
|
updateSizes(true);
|
||||||
moreNotified = false;
|
moreNotified = false;
|
||||||
lessNotified = false;
|
lessNotified = false;
|
||||||
@ -889,11 +889,11 @@ angular.module('myApp.directives', ['myApp.filters'])
|
|||||||
|
|
||||||
$(scrollableWrap).addClass('im_history_to_bottom');
|
$(scrollableWrap).addClass('im_history_to_bottom');
|
||||||
scrollableWrap.scrollHeight; // Some strange Chrome bug workaround
|
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 () {
|
var upd = function () {
|
||||||
$(scrollableWrap).removeClass('im_history_to_bottom');
|
$(scrollableWrap).removeClass('im_history_to_bottom');
|
||||||
$(scrollable).css({bottom: '', marginLeft: ''});
|
$(scrollable).css({bottom: '', paddingRight: ''});
|
||||||
if (scrollTopInitial >= 0) {
|
if (scrollTopInitial >= 0) {
|
||||||
changeScroll();
|
changeScroll();
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user