From 3af94056fb278f9499284758900941b69e3bbc04 Mon Sep 17 00:00:00 2001 From: Igor Zhukov Date: Mon, 23 Mar 2015 00:52:41 +0300 Subject: [PATCH] Style improvements --- app/js/directives.js | 2 +- app/less/desktop.less | 4 ++-- app/partials/desktop/message.html | 2 +- app/partials/mobile/message.html | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/app/js/directives.js b/app/js/directives.js index bc33e7e9..fe25429c 100755 --- a/app/js/directives.js +++ b/app/js/directives.js @@ -141,7 +141,7 @@ angular.module('myApp.directives', ['myApp.filters']) applyUnreadAfter(); deregisterUnreadAfter = $scope.$on('messages_unread_after', applyUnreadAfter); } - if ($scope.historyMessage.unread) { + if ($scope.historyMessage.unread && $scope.historyMessage.out) { element.addClass(unreadClass); var deregisterUnread = $scope.$on('messages_read', function () { if (!$scope.historyMessage.unread) { diff --git a/app/less/desktop.less b/app/less/desktop.less index 4838f0e0..89608a83 100644 --- a/app/less/desktop.less +++ b/app/less/desktop.less @@ -815,7 +815,7 @@ a.footer_link.active:active { &_edit_reply_btn { border-radius: 2px; padding: 7px 17px; - font-weight: normal; + font-weight: bold; font-size: 12px; line-height: 18px; margin: 6px 0 6px 14px; @@ -1306,7 +1306,7 @@ a.im_panel_peer_photo .peer_initials { } } -@media (max-height: 700px) { +@media (max-height: 600px) { a { &.im_panel_peer_photo, &.im_panel_own_photo { diff --git a/app/partials/desktop/message.html b/app/partials/desktop/message.html index 41b0291b..ce902416 100644 --- a/app/partials/desktop/message.html +++ b/app/partials/desktop/message.html @@ -28,7 +28,7 @@ - + diff --git a/app/partials/mobile/message.html b/app/partials/mobile/message.html index 21b8c892..08adb1ed 100644 --- a/app/partials/mobile/message.html +++ b/app/partials/mobile/message.html @@ -20,7 +20,7 @@
- +