diff options
author | Pawel Zelawski <pawel.zelawski@outlook.com> | 2025-04-10 14:35:56 +0200 |
---|---|---|
committer | Pawel Zelawski <pawel.zelawski@outlook.com> | 2025-04-10 14:35:56 +0200 |
commit | d858bd4e0fc7aaba15509a17b35138e843667bc1 (patch) | |
tree | b8251d1579bebe7128efe5b93ed734f9a75b234b /vite.config.ts | |
parent | e29a1b9a652fe254d13afef7f5c7a3d7a64b68cc (diff) |
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
Diffstat (limited to 'vite.config.ts')
-rw-r--r-- | vite.config.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vite.config.ts b/vite.config.ts index 5e62e9a..69d80d1 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -6,9 +6,9 @@ export default defineConfig({ plugins: [react()], server: { proxy: { - // Proxy /api requests to the backend server (running on port 3001 by default) + // Proxy /api requests to the backend server (running on port 3000 now) '/api': { - target: 'http://localhost:3001', // Default backend port, adjust if needed + target: 'http://localhost:3000', // Adjust to match backend PORT from .env changeOrigin: true, // Recommended for virtual hosted sites secure: false, // Don't verify SSL certs if backend uses self-signed cert in dev }, |