bericht/js
Eduard Wisch 4dad496788
All checks were successful
Deploy bericht / deploy (push) Successful in 2s
fix: Leerer Bericht-Editor zeigt DIN A4 Hochformat-Platzhalter
Wenn noch keine Seite geladen ist, wirkte der Editor mit dem winzigen
1x1-Canvas sehr abgebastelt. Jetzt zeigt der Canvas-Wrap im leeren
Zustand eine echte A4-Hochformat-Fläche (max 900px, aspect-ratio 1:1.414)
mit Hinweistext 'Seite wählen oder Fotos hinzufügen'.

- .bericht-canvas-wrap.empty setzt aspect-ratio auf A4
- ::after Pseudo-Element als Hinweistext
- init() markiert den Wrap als 'empty'
- loadPage() entfernt die Klasse sobald ein Bild geladen wird
- min-height 400px damit auch ohne Content Platz da ist

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
[deploy]
2026-04-09 13:08:38 +02:00
..
lib feat: Phase 2.1 + 2.2 — Mobile-Upload mit QR-Code 2026-04-08 22:38:33 +02:00
editor.js fix: Leerer Bericht-Editor zeigt DIN A4 Hochformat-Platzhalter 2026-04-09 13:08:38 +02:00