mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-03-04 19:53:19 +08:00
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:
commit
bcfb04b236
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…
Reference in a new issue