From 164e86c8e4e8cfe54fbda24067bb2a3de20c8cb0 Mon Sep 17 00:00:00 2001 From: Dave Roberts <145559566+droberts-ctrlo@users.noreply.github.com> Date: Wed, 11 Oct 2023 08:09:52 +0100 Subject: [PATCH] Reposition table loading spinner * Added development files ignore * Made loader fixed on screen Should it be required, the loader can be moved if required * Updated css and template as suggested --- .gitignore | 2 ++ src/frontend/components/data-table/_data-table.scss | 4 ++++ views/layouts/main.tt | 2 +- 3 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 360a99176..e73d27390 100755 --- a/.gitignore +++ b/.gitignore @@ -32,3 +32,5 @@ node_modules/ webdriver/MYMETA.* webdriver/Makefile* yarn-error.log + +webpack.config.development.js diff --git a/src/frontend/components/data-table/_data-table.scss b/src/frontend/components/data-table/_data-table.scss index 3f26004d2..e79df7e61 100644 --- a/src/frontend/components/data-table/_data-table.scss +++ b/src/frontend/components/data-table/_data-table.scss @@ -271,3 +271,7 @@ div.dataTables_wrapper div.dataTables_filter input.form-control { justify-content: flex-start; } } + +div.dataTables_wrapper div.dataTables_processing { + top: 10rem; +} diff --git a/views/layouts/main.tt b/views/layouts/main.tt index 6bbdae6ac..199a0a600 100755 --- a/views/layouts/main.tt +++ b/views/layouts/main.tt @@ -8,8 +8,8 @@ - +