feat(call): drop hardcoded 16:9 on screen-share preview button

This commit is contained in:
byGalax
2026-05-12 18:39:06 +02:00
parent 005aebd60b
commit a065cc0a2c
@@ -110,8 +110,7 @@ export function ScreenShareViewer({
type="button" type="button"
onClick={() => watchShare(share.participantId)} onClick={() => watchShare(share.participantId)}
aria-label={t('app:call.watch_screen', { defaultValue: 'Bildschirm anschauen' })} aria-label={t('app:call.watch_screen', { defaultValue: 'Bildschirm anschauen' })}
className="group relative block w-full cursor-pointer overflow-hidden bg-ink-900 focus:outline-none" className="group relative block h-full w-full flex-1 cursor-pointer overflow-hidden bg-ink-900 focus:outline-none"
style={{ aspectRatio: '16 / 9' }}
> >
<BlurredTile avatarUrl={avatarUrl} letter={letter} /> <BlurredTile avatarUrl={avatarUrl} letter={letter} />
<div className="absolute inset-0 flex items-center justify-center bg-black/30 transition group-hover:bg-black/40"> <div className="absolute inset-0 flex items-center justify-center bg-black/30 transition group-hover:bg-black/40">