Merge pull request #7494 from wandji20/wb-SCI-10618

Remove paragraph bottom margin in repository text value renderer [SCI-10618]
This commit is contained in:
ajugo 2024-04-19 11:37:38 +02:00 committed by GitHub
commit bcfb04b236
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -32,7 +32,7 @@ $.fn.dataTable.render.defaultRepositoryAssetValue = function() {
};
$.fn.dataTable.render.RepositoryTextValue = function(data) {
var text = $(`<span class="text-value">${data.value.view}</span>`);
const text = $(`<span class="text-value [&>p]:mb-0">${data.value.view}</span>`);
text.attr('data-edit-value', data.value.edit);
return text.prop('outerHTML');
};