From 4a31b27852e3dabc1851ae1793aae325e31a151f Mon Sep 17 00:00:00 2001 From: Giga Chubinidze Date: Fri, 31 Mar 2023 13:42:42 +0400 Subject: [PATCH] added minimum z index on protocols table --- app/assets/javascripts/protocols/index.js | 3 +++ app/assets/stylesheets/protocols/index.scss | 1 + 2 files changed, 4 insertions(+) diff --git a/app/assets/javascripts/protocols/index.js b/app/assets/javascripts/protocols/index.js index 77a84532b..15e8b13bf 100644 --- a/app/assets/javascripts/protocols/index.js +++ b/app/assets/javascripts/protocols/index.js @@ -240,6 +240,9 @@ var ProtocolsIndex = (function() { fnDrawCallback: function() { animateSpinner(this, false); }, + preDrawCallback: function() { + animateSpinner(this); + }, stateSaveCallback: function(settings, data) { // Set a cookie with the table state using the team id localStorage.setItem( diff --git a/app/assets/stylesheets/protocols/index.scss b/app/assets/stylesheets/protocols/index.scss index 64d84d0f6..1ef8976f0 100644 --- a/app/assets/stylesheets/protocols/index.scss +++ b/app/assets/stylesheets/protocols/index.scss @@ -79,6 +79,7 @@ flex-grow: 1; height: calc(100% - var(--datatable-pagination-row) - var(--protocol-toolbar-size)); padding-bottom: 12px; + z-index: 1; } .dataTables_scrollBody {