fix(sync): resolve request body size limit issues and refine responsive photo grid layout

This commit is contained in:
2026-05-28 16:15:32 +02:00
parent 1388f603c6
commit cc183edc6d
5 changed files with 12 additions and 4 deletions
+1
View File
@@ -1,6 +1,7 @@
server { server {
listen 80; listen 80;
server_name localhost; server_name localhost;
client_max_body_size 50M;
location / { location / {
root /usr/share/nginx/html; root /usr/share/nginx/html;
+7
View File
@@ -880,6 +880,11 @@ body {
.form-grid { .form-grid {
grid-template-columns: 1fr; grid-template-columns: 1fr;
} }
.vessel-photo-wrapper,
.sails-section,
.grid-span-2 {
grid-column: span 1 !important;
}
} }
.vessel-form label { .vessel-form label {
@@ -1641,6 +1646,8 @@ body:has(.theme-cupertino) {
background: rgba(56, 189, 248, 0.15); background: rgba(56, 189, 248, 0.15);
border-color: #38bdf8; border-color: #38bdf8;
color: #38bdf8; color: #38bdf8;
}.grid-span-2 {
grid-column: span 2;
} }
/* Yacht Photo Styling */ /* Yacht Photo Styling */
+2 -2
View File
@@ -517,7 +517,7 @@ export default function CrewForm({ logbookId }: CrewFormProps) {
/> />
</div> </div>
<div className="input-group" style={{ gridColumn: 'span 2' }}> <div className="input-group grid-span-2">
<label>{t('crew.diseases')}</label> <label>{t('crew.diseases')}</label>
<input <input
type="text" type="text"
@@ -722,7 +722,7 @@ export default function CrewForm({ logbookId }: CrewFormProps) {
/> />
</div> </div>
<div className="input-group" style={{ gridColumn: 'span 2' }}> <div className="input-group grid-span-2">
<label>{t('crew.diseases')}</label> <label>{t('crew.diseases')}</label>
<input <input
type="text" type="text"
+1 -1
View File
@@ -16,7 +16,7 @@ export default defineConfig({
plugins: [ plugins: [
react(), react(),
VitePWA({ VitePWA({
registerType: 'prompt', registerType: 'autoUpdate',
includeAssets: ['favicon.ico', 'logo.png'], includeAssets: ['favicon.ico', 'logo.png'],
manifest: { manifest: {
name: 'Kapteins Daagbox', name: 'Kapteins Daagbox',
+1 -1
View File
@@ -12,7 +12,7 @@ const app = express()
const PORT = process.env.PORT || 5000 const PORT = process.env.PORT || 5000
app.use(cors()) app.use(cors())
app.use(express.json()) app.use(express.json({ limit: '50mb' }))
// Mount routes // Mount routes
app.use('/api/auth', authRouter) app.use('/api/auth', authRouter)