gwoe-antragspruefer/app/templates/v2
Dotty Dotter 0b5dcba8f9 feat: Scorecard-Browser — skaliert auf 90 % Viewport-Hoehe (mit Width-Fallback)
User: 'Skaliere die Scorecard so, dass sie die Hoehe des Browser
Viewports Minus 10% einnimmt'

Vorherige Logik nahm scaleByWidth, capped auf 1.0. Jetzt zwei Faktoren
und das kleinere gewinnt:
- scaleByHeight = window.innerHeight * 0.9 / 1350
- scaleByWidth  = (window.innerWidth - 40) / 1080
- scale = min(beiden, max 1.0)

Auf einem 1440×900-Desktop ergibt das scale 0.6 (= 90% × 900 / 1350),
Card 648×810. Auf einem 390-px-Phone gewinnt die Breite-Begrenzung,
Card skaliert kleiner damit horizontal nichts abgeschnitten wird.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-05-07 14:11:38 +02:00
..
components fix: result_row default-href auf /antrag/ (= v3) statt /v2/antrag/ 2026-05-07 12:46:40 +02:00
icons/phosphor feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00
screens feat: Scorecard-Browser — skaliert auf 90 % Viewport-Hoehe (mit Width-Fallback) 2026-05-07 14:11:38 +02:00
base.html fix: Topbar-Wrap auf Mobile, Klassische-Ansicht raus, Tags-Greying + Title-Bug 2026-05-07 12:05:10 +02:00
og_template.html feat(#139,#129,#138,#141): v2-Frontend (ECOnGOOD-CD), Login-Modal, Auto-DL, OG-Cards 2026-04-25 20:55:57 +02:00