Make bottom scrollbar visible with action toolbar at inventories [SCI-9235]

This commit is contained in:
Ivan Kljun 2023-09-15 15:08:09 +02:00
parent 160d9775d8
commit 13715fa472

View file

@ -64,7 +64,7 @@ var RepositoryDatatable = (function(global) {
function updateButtons() {
if (window.actionToolbarComponent) {
window.actionToolbarComponent.fetchActions({ repository_row_ids: rowsSelected });
$('.dataTables_scrollBody').css('padding-bottom', `${rowsSelected.length > 0 ? 68 : 0}px`);
$('.dataTables_scrollBody').css('margin-bottom', `${rowsSelected.length > 0 ? 68 : 0}px`);
}
if (currentMode === 'viewMode') {