Remove paragraph bottom margin in repository text value renderer [SCI-10618]

This commit is contained in:
wandji20 2024-04-19 00:58:55 +01:00
parent a87261d68d
commit abb4232dfd

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');
};