Browse Source

Fixed minor style bugs

master
Igor Zhukov 8 years ago
parent
commit
a82ab858b2
  1. 4
      app/js/directives.js
  2. 4
      app/less/desktop.less

4
app/js/directives.js

@ -2966,7 +2966,9 @@ angular.module('myApp.directives', ['myApp.filters'])
if (attrs.watch) { if (attrs.watch) {
$scope.$on('user_update', function (e, updUserID) { $scope.$on('user_update', function (e, updUserID) {
if (peerID == updUserID) { if (peerID == updUserID) {
if (!angular.equals(peer.photo && peer.photo.photo_small, peerPhoto)) { peer = AppPeersManager.getPeer(peerID)
if (!angular.equals(peer.photo && peer.photo.photo_small, peerPhoto) ||
!peerPhoto) {
updatePeerPhoto() updatePeerPhoto()
} }
} }

4
app/less/desktop.less

@ -1201,7 +1201,7 @@ a.im_panel_peer_photo .peer_initials {
padding: 1px 28px 1px 0; padding: 1px 28px 1px 0;
position: relative; position: relative;
margin: 0; margin: 0;
min-height: 50px; min-height: 52px;
line-height: 20px; line-height: 20px;
height: auto; height: auto;
box-sizing: border-box; box-sizing: border-box;
@ -1305,7 +1305,7 @@ a.im_panel_peer_photo .peer_initials {
.composer { .composer {
&_rich_textarea, &_rich_textarea,
&_textarea { &_textarea {
min-height: 25px; min-height: 27px;
padding-right: 25px; padding-right: 25px;
} }

Loading…
Cancel
Save