diff --git a/customize.dist/src/less2/include/messenger.less b/customize.dist/src/less2/include/messenger.less index f342a07e3..be0b78195 100644 --- a/customize.dist/src/less2/include/messenger.less +++ b/customize.dist/src/less2/include/messenger.less @@ -256,6 +256,9 @@ justify-content: space-between; align-items: center; height: 50px; + svg { + margin-right: 0; + } .hover () { height: 100%; diff --git a/www/common/messenger-ui.js b/www/common/messenger-ui.js index 2051154cd..0548b5709 100644 --- a/www/common/messenger-ui.js +++ b/www/common/messenger-ui.js @@ -243,10 +243,10 @@ define([ $(getChat(id)).find('.cp-app-contacts-messages').html(''); }; markup.chatbox = function (id, data, curvePublic) { - var moreHistory = h('span', Icons.get('history', { + var moreHistory = h('span', { class: 'cp-app-contacts-more-history', - title: Messages.contacts_fetchHistory, - })); + }); + moreHistory.append(Icons.get('history', {title: Messages.contacts_fetchHistory})); var chan = state.channels[id]; var displayName = UI.getDisplayName(chan.name || chan.displayName); @@ -308,10 +308,10 @@ define([ }); }); - var removeHistory = h('span', Icons.get('remove-history', { - 'class': 'cp-app-contacts-remove-history', - title: Messages.contacts_removeHistoryTitle - })); + var removeHistory = h('span', { + 'class': 'cp-app-contacts-remove-history' + }); + removeHistory.append(Icons.get('remove-history', {title: Messages.contacts_removeHistoryTitle})); $(removeHistory).click(function () { UI.confirm(Messages.contacts_confirmRemoveHistory, function (yes) {