Skip to content

Commit

Permalink
Reposition table loading spinner
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
droberts-ctrlo authored Oct 11, 2023
1 parent 3f69107 commit 164e86c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,5 @@ node_modules/
webdriver/MYMETA.*
webdriver/Makefile*
yarn-error.log

webpack.config.development.js
4 changes: 4 additions & 0 deletions src/frontend/components/data-table/_data-table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
2 changes: 1 addition & 1 deletion views/layouts/main.tt
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<meta name="author" content="">
<meta name="generator" content="Roger" />
<meta name="viewport" content="width=device-width,minimum-scale=1,initial-scale=1">
<link rel="stylesheet" href="[% url.css %]/general.css?v=3">
<link rel="stylesheet" href="[% url.css %]/external.css?v=3">
<link rel="stylesheet" href="[% url.css %]/general.css?v=3">
</head>
<body class="[% body_class || 'page' %]"[% IF csrf_token %] data-csrf="[%- csrf_token -%]"[% END; IF layout OR layout_obj; %] data-layout-identifier="[% layout.identifier || layout_obj.identifier %]"[% END %]>
<div class="[% container_class || 'container-fluid' %]">
Expand Down

0 comments on commit 164e86c

Please sign in to comment.