Skip to content
This repository has been archived by the owner on Jun 17, 2021. It is now read-only.

Commit

Permalink
Fixed font blur/flicker in history
Browse files Browse the repository at this point in the history
  • Loading branch information
zhukov committed Dec 30, 2017
1 parent 710be1c commit 740316a
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
4 changes: 3 additions & 1 deletion app/less/app.less
Original file line number Diff line number Diff line change
Expand Up @@ -1539,8 +1539,9 @@ a.im_dialog_selected {
margin-left: 0;
}
.im_message_author_admin {
color: #999;
color: #adadad;
margin-left: 6px;
font-size: 11px;
}

.im_message_from_photo,
Expand Down Expand Up @@ -4064,6 +4065,7 @@ ul.chat_modal_migrate_list {

.im_message_focus_active {
.im_message_date,
.im_message_author_admin,
.im_message_document_size,
.audio_player_duration,
.audio_player_size,
Expand Down
10 changes: 7 additions & 3 deletions app/less/desktop.less
Original file line number Diff line number Diff line change
Expand Up @@ -689,9 +689,11 @@ a.footer_link.active:active {

&_scrollable_wrap {
/* Hardware acceleration in Safari */
-webkit-transform: translateZ(0);
-webkit-perspective: 1000;
-webkit-backface-visibility: hidden;

// Caused flickering and bluring in webkit
// -webkit-transform: translateZ(0);
// -webkit-perspective: 1000;
// -webkit-backface-visibility: hidden;
}
}

Expand Down Expand Up @@ -946,13 +948,15 @@ a.footer_link.active:active {
.im_message_selected .im_message_audio_duration,
.im_message_selected .im_message_audio_size,
.im_message_selected .im_message_fwd_date,
.im_message_selected .im_message_author_admin,
.im_message_selected .im_message_views_cnt,
.im_message_selected .im_message_sign_link,
.im_history_select_active .im_message_outer_wrap:hover .im_message_date,
.im_history_select_active .im_message_outer_wrap:hover .im_message_document_size,
.im_history_select_active .im_message_outer_wrap:hover .im_message_audio_duration,
.im_history_select_active .im_message_outer_wrap:hover .im_message_audio_size,
.im_history_select_active .im_message_outer_wrap:hover .im_message_fwd_date,
.im_history_select_active .im_message_outer_wrap:hover .im_message_author_admin,
.im_history_select_active .im_message_outer_wrap:hover .im_message_views_cnt,
.im_history_select_active .im_message_outer_wrap:hover .im_message_sign_link {
color: #899daf;
Expand Down

0 comments on commit 740316a

Please sign in to comment.