ui: datastore content: style edit notes pencil like action-col icon
as those have a hover effect and use dark-grey vs. the quite "harsh" looking plain black. We need to override the margin though, as else the floated layout adds another line. Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
8866cbccc8
commit
ba2679c9d7
|
@ -626,10 +626,10 @@ Ext.define('PBS.DataStoreContent', {
|
||||||
v = '';
|
v = '';
|
||||||
}
|
}
|
||||||
v = Ext.String.htmlEncode(v);
|
v = Ext.String.htmlEncode(v);
|
||||||
let icon = 'fa fa-fw fa-pencil pointer';
|
let icon = 'x-action-col-icon fa fa-fw fa-pencil pointer';
|
||||||
|
|
||||||
return `<span class="snapshot-comment-column">${v}</span>
|
return `<span class="snapshot-comment-column">${v}</span>
|
||||||
<i data-qtip="${gettext('Edit')}" style="float: right;" class="${icon}"></i>`;
|
<i data-qtip="${gettext('Edit')}" style="float: right; margin: 0px;" class="${icon}"></i>`;
|
||||||
},
|
},
|
||||||
listeners: {
|
listeners: {
|
||||||
afterrender: function(component) {
|
afterrender: function(component) {
|
||||||
|
|
Loading…
Reference in New Issue