Motiv-Freigabe: Entwurf eingepasst statt beschnitten (objectFit contain)
All checks were successful
Build & Deploy / deploy (push) Successful in 23s
All checks were successful
Build & Deploy / deploy (push) Successful in 23s
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -50,7 +50,7 @@ export default function FreigabeSeite() {
|
||||
background: '#f4f6fa', boxShadow: '0 2px 10px rgba(0,0,0,.08)',
|
||||
}}>
|
||||
{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>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user