Browse Source

Fixed font blur/flicker in history

Closes #1486
master
Igor Zhukov 7 years ago
parent
commit
740316a6a4
  1. 4
      app/less/app.less
  2. 10
      app/less/desktop.less

4
app/less/app.less

@ -1539,8 +1539,9 @@ a.im_dialog_selected {
margin-left: 0; margin-left: 0;
} }
.im_message_author_admin { .im_message_author_admin {
color: #999; color: #adadad;
margin-left: 6px; margin-left: 6px;
font-size: 11px;
} }
.im_message_from_photo, .im_message_from_photo,
@ -4064,6 +4065,7 @@ ul.chat_modal_migrate_list {
.im_message_focus_active { .im_message_focus_active {
.im_message_date, .im_message_date,
.im_message_author_admin,
.im_message_document_size, .im_message_document_size,
.audio_player_duration, .audio_player_duration,
.audio_player_size, .audio_player_size,

10
app/less/desktop.less

@ -689,9 +689,11 @@ a.footer_link.active:active {
&_scrollable_wrap { &_scrollable_wrap {
/* Hardware acceleration in Safari */ /* Hardware acceleration in Safari */
-webkit-transform: translateZ(0);
-webkit-perspective: 1000; // Caused flickering and bluring in webkit
-webkit-backface-visibility: hidden; // -webkit-transform: translateZ(0);
// -webkit-perspective: 1000;
// -webkit-backface-visibility: hidden;
} }
} }
@ -946,6 +948,7 @@ a.footer_link.active:active {
.im_message_selected .im_message_audio_duration, .im_message_selected .im_message_audio_duration,
.im_message_selected .im_message_audio_size, .im_message_selected .im_message_audio_size,
.im_message_selected .im_message_fwd_date, .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_views_cnt,
.im_message_selected .im_message_sign_link, .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_date,
@ -953,6 +956,7 @@ a.footer_link.active:active {
.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_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_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_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_views_cnt,
.im_history_select_active .im_message_outer_wrap:hover .im_message_sign_link { .im_history_select_active .im_message_outer_wrap:hover .im_message_sign_link {
color: #899daf; color: #899daf;

Loading…
Cancel
Save