From d858bd4e0fc7aaba15509a17b35138e843667bc1 Mon Sep 17 00:00:00 2001 From: Pawel Zelawski Date: Thu, 10 Apr 2025 14:35:56 +0200 Subject: refactor: improve layout and spacing across all views - Remove extra space at the top of the page by adjusting body and root styles - Add consistent 20px top padding to all views through app-container - Simplify layout structure by removing unnecessary flex containers - Adjust spacing between elements for better visual hierarchy: - Reduce gaps between elements from 1.5rem to 1rem - Reduce bottom margin of h1 from 1.5rem to 1rem - Remove negative margins and extra padding - Maintain consistent box dimensions (390px width, 560px height) for all views - Ensure proper spacing for QR code and other content within views --- package.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index 9bd6c3c..bfd0b66 100644 --- a/package.json +++ b/package.json @@ -2,13 +2,13 @@ "name": "digiid-ts-demo", "version": "1.0.0", "description": "", - "main": "index.js", "type": "module", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev:frontend": "vite", - "dev:backend": "nodemon --watch src/server --ext ts --exec \"node --loader ts-node/esm src/server/main.ts\"", - "dev": "npm-run-all --parallel dev:frontend dev:backend", + "build:backend:watch": "tsc -p tsconfig.json --watch", + "dev:backend": "nodemon dist/server/server/main.js", + "dev": "npm-run-all --parallel dev:frontend build:backend:watch dev:backend", "build": "tsc && vite build", "lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0", "preview": "vite preview" -- cgit v1.2.3