mirror of
https://github.com/cryptpad/cryptpad.git
synced 2026-09-14 11:05:41 +05:00
Fix contacts header icons
This commit is contained in:
parent
885ac145d1
commit
bea90091fb
@ -256,6 +256,9 @@
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
height: 50px;
|
||||
svg {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
.hover () {
|
||||
height: 100%;
|
||||
|
||||
@ -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) {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user