mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-12-09 13:46:21 +08:00
Remove paragraph bottom margin in repository text value renderer [SCI-10618]
This commit is contained in:
parent
a87261d68d
commit
abb4232dfd
1 changed files with 1 additions and 1 deletions
|
|
@ -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');
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue