CSS for the removeHistory button in contacts

This commit is contained in:
yflory
2017-07-20 17:26:33 +02:00
parent 97f1bbedc5
commit 9633025afe
4 changed files with 29 additions and 22 deletions

View File

@@ -284,15 +284,15 @@ define([
var proxy = common.getProxy();
var $header = $('<div>', {
'class': 'cp-contact-top-bar header',
'class': 'header',
}).appendTo($container);
var $avatar = $('<div>', {'class': 'avatar'}).appendTo($header);
var $removeHistory = $('<span>', {
'class': 'remove-history fa fa-eraser'
'class': 'remove-history fa fa-eraser',
title: common.Messages.contacts_removeHistoryTitle
})
// TODO set title
.click(function () {
Cryptpad.confirm(common.Messages.contacts_confirmRemoveHistory, function (yes) {
if (!yes) { return; }