Merge pull request #6232 from ivanscinote/SCI-9235-table-horizontal-scroller-when-bottom-action-toolbar-is-opened

Make bottom scrollbar visible with action toolbar at inventories [SCI-9235]
This commit is contained in:
Martin Artnik 2023-09-18 09:32:05 +02:00 committed by GitHub
commit 1068f9b979
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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') {