From 5a7530cdfb2d680db51faffbad9ae859c41fb1e1 Mon Sep 17 00:00:00 2001 From: Anton Date: Wed, 24 May 2023 11:24:02 +0200 Subject: [PATCH] Fix label templates pagination [SCI-8483] --- app/assets/javascripts/reports/reports_datatable.js | 2 +- app/assets/stylesheets/label_templates/index.scss | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/reports/reports_datatable.js b/app/assets/javascripts/reports/reports_datatable.js index a934e76de..28accae5f 100644 --- a/app/assets/javascripts/reports/reports_datatable.js +++ b/app/assets/javascripts/reports/reports_datatable.js @@ -211,7 +211,7 @@ createdRow: addAttributesToRow, initComplete: function(settings) { initActionToolbar(); - actionToolbarComponent.setBottomOffset(75); + actionToolbarComponent.setBottomOffset(70); const { nTableWrapper: dataTableWrapper } = settings; CHECKBOX_SELECTOR = new DataTableCheckboxes(dataTableWrapper, { diff --git a/app/assets/stylesheets/label_templates/index.scss b/app/assets/stylesheets/label_templates/index.scss index 6b83826de..fef841932 100644 --- a/app/assets/stylesheets/label_templates/index.scss +++ b/app/assets/stylesheets/label_templates/index.scss @@ -68,7 +68,7 @@ display: flex; flex-direction: column; flex-grow: 1; - height: calc(100% - var(--datatable-pagination-row)); + height: calc(100% - var(--datatable-pagination-row) - 3.5rem); .dataTables_scrollHead { flex-shrink: 0;