From 56a290195802c808fb9f75d959d84a748bbb7e49 Mon Sep 17 00:00:00 2001 From: elpatron Date: Thu, 28 May 2026 11:22:43 +0200 Subject: [PATCH] style: increase logbooks-grid gap to 24px and fix server sync ciphertext key mismatch --- client/src/App.css | 2 +- server/src/routes/sync.ts | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/App.css b/client/src/App.css index 71283b3..8908705 100644 --- a/client/src/App.css +++ b/client/src/App.css @@ -532,7 +532,7 @@ body { .logbooks-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); - gap: 16px; + gap: 24px; } .logbook-card { diff --git a/server/src/routes/sync.ts b/server/src/routes/sync.ts index fb0fa64..e299831 100644 --- a/server/src/routes/sync.ts +++ b/server/src/routes/sync.ts @@ -85,7 +85,8 @@ router.post('/push', async (req: any, res) => { // Parse Payload parameters const parsed = JSON.parse(data) - const { encryptedData, iv, tag } = parsed + const encryptedData = parsed.encryptedData || parsed.ciphertext + const { iv, tag } = parsed if (type === 'yacht') { if (action === 'delete') {