diff --git a/src/app/pages/data-entry/data-entry.component.ts b/src/app/pages/data-entry/data-entry.component.ts index 8f6ec6236ff79c78a3ba5989bcaed191a6b220bf..988f8b30c723cd4c106710458eca54f6692014e8 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 df3d8313d165b59b8ad72fdc79946f6acefcb55f..5e8cd2892f6b6d0564f5827ea19b738214efb255 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%;}