From 2b8929ce4a0e9be1992d187c7cedf5eb53ac5b4e Mon Sep 17 00:00:00 2001
From: legoutpaul <paul.legout@eisti.fr>
Date: Wed, 12 May 2021 18:10:12 +0200
Subject: [PATCH] slight updates

---
 src/app/pages/data-entry/data-entry.component.ts | 14 +-------------
 src/styles.css                                   |  3 ++-
 2 files changed, 3 insertions(+), 14 deletions(-)

diff --git a/src/app/pages/data-entry/data-entry.component.ts b/src/app/pages/data-entry/data-entry.component.ts
index 8f6ec62..988f8b3 100644
--- a/src/app/pages/data-entry/data-entry.component.ts
+++ b/src/app/pages/data-entry/data-entry.component.ts
@@ -188,19 +188,7 @@ export class DataEntryComponent implements OnInit {
    * Empty inputs
    */
   public emptyInputs() {
-      const inputs = document.querySelectorAll("input");
-      for (let i = 0; i < inputs.length; i++) {
-        if (inputs[i]) {
-          inputs[i].value = '';
-        }
-      }
-      const sel = document.querySelectorAll("mat-select");
-      for (let i = 0; i < sel.length; i++) {
-        if (sel[i]) {
-          sel[i].textContent = '';
-        }
-      }
-
+      location.reload();
   }
 
 
diff --git a/src/styles.css b/src/styles.css
index df3d831..5e8cd28 100644
--- a/src/styles.css
+++ b/src/styles.css
@@ -2,5 +2,6 @@
 
 /* You can add global styles to this file, and also import other style files */
 
-html, body { height: 100%; }
+html, body { height: 100%;
+min-width: 900px;}
 body { margin: auto auto; font-family: Roboto, "Helvetica Neue", sans-serif; width: 75%;}
-- 
GitLab