1 Commits

Author SHA1 Message Date
s4luorth
b5669ee8a3 Motiv-Freigabe: Entwurf eingepasst statt beschnitten (objectFit contain)
All checks were successful
Build & Deploy / deploy (push) Successful in 23s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-09-18 11:47:49 +02:00

View File

@@ -50,7 +50,7 @@ export default function FreigabeSeite() {
background: '#f4f6fa', boxShadow: '0 2px 10px rgba(0,0,0,.08)', background: '#f4f6fa', boxShadow: '0 2px 10px rgba(0,0,0,.08)',
}}> }}>
{d.has_layout {d.has_layout
? <img src={freigabeLayoutUrl(token)} alt="A6-Entwurf" style={{ width: '100%', height: '100%', objectFit: 'cover', display: 'block' }} /> ? <img src={freigabeLayoutUrl(token)} alt="A6-Entwurf" style={{ width: '100%', height: '100%', objectFit: 'contain', display: 'block' }} />
: <div style={{ display: 'grid', placeItems: 'center', height: '100%' }}><span className="sk-note">Entwurf wird noch erstellt …</span></div>} : <div style={{ display: 'grid', placeItems: 'center', height: '100%' }}><span className="sk-note">Entwurf wird noch erstellt …</span></div>}
</div> </div>
); );