1
0
Fork 0
Browse Source

Centered edit/delete icon

- Edit and Delete icons centered
master
Andrew Fontana 2 years ago committed by GitHub
parent
commit
781ce112d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      files/client/modules/dynamic-checklist/src/views/fields/dynamic-checklist.js

4
files/client/modules/dynamic-checklist/src/views/fields/dynamic-checklist.js

@ -2,7 +2,7 @@
* This file is part of EspoCRM.
*
* EspoCRM - Open Source CRM application.
* Copyright (C) 2014-2023 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Copyright (C) 2014-2019 Yuri Kuznetsov, Taras Machyshyn, Oleksiy Avramenko
* Website: https://www.espocrm.com
*
* EspoCRM is free software: you can redistribute it and/or modify
@ -109,7 +109,7 @@ define('dynamic-checklist:views/fields/dynamic-checklist', ['views/fields/array'
itemHtml += '></div> ';
//itemHtml += '<input class = "main-element form-control" type="text" class="checklist-label" value="'+label+'">';
itemHtml += '<div style="display:inline-block;max-width:85%;"><label for="'+id+'" class="checklist-label" style="overflow-y: center !important;">'+label+'</label></div>';
itemHtml += '<div style="float:right; width:10%;"><a href="javascript:" class="pull-right" data-value="'+label+'" data-action="removeValue"><span class="fas fa-trash-alt"></span></a>';
itemHtml += '<div style="float:right; width:10%; margin: auto;"><a href="javascript:" class="pull-right" data-value="'+label+'" data-action="removeValue"><span class="fas fa-trash-alt"></span></a>';
itemHtml += '<a href="javascript:" class="pull-right" data-value="'+label+'" data-action="editValue" style="margin-right:10px;"><span class="fas fa-pencil-alt fa-sm"></span></a>';
itemHtml += '</div></div>';
return itemHtml;

Loading…
Cancel
Save