Luca Parisio 7 ヶ月 前
コミット
792aca5e34
1 ファイル変更7 行追加1 行削除
  1. 7 1
      resources/views/livewire/records_in.blade.php

+ 7 - 1
resources/views/livewire/records_in.blade.php

@@ -1,6 +1,6 @@
 <div class="col card--ui" id="card--dashboard">
 <div class="col card--ui" id="card--dashboard">
 
 
-    <div style="z-index:999; position:absolute;left:0px, right:0px;bottom:0px; width:100%; height:100%;background-color:#0C6197; opacity:0.5; display:none" id="loadingDiv"><span style="margin: auto;width: 50%;color:white; font-size:20px;">Loading...</span></div>
+    <div style="z-index:999; position:absolute;left:0px, right:0px;bottom:0px; width:100%; height:100%;background-color:#0C6197; opacity:0.5; display:none; text-align:center" id="loadingDiv"><span style="margin: auto;width: 50%;color:white; font-size:40px;">Loading...</span></div>
 
 
         <header id="title--section" style="display:none !important"  class="d-flex align-items-center justify-content-between">
         <header id="title--section" style="display:none !important"  class="d-flex align-items-center justify-content-between">
             <div class="title--section_name d-flex align-items-center justify-content-between">
             <div class="title--section_name d-flex align-items-center justify-content-between">
@@ -1069,6 +1069,12 @@
             */
             */
 
 
             loadDataTable();
             loadDataTable();
+
+            setTimeout(() => {
+                var h = $("#card--dashboard").height();
+                $('#loadingDiv').height(h);
+            }, 500);
+
         } );
         } );
 
 
         @if(isset($_GET["showFilters"]))
         @if(isset($_GET["showFilters"]))