🐛(frontend) fix video distortion when stopping processors

Prevent layout shift in vertical menu by adapting video element height based on
orientation. Eliminates glitchy effect where stopping a processor doubled
video height and pushed menu options downward for a few ms.
This commit is contained in:
lebaudantoine
2025-05-01 16:26:24 +02:00
committed by aleb_the_flash
parent 8023e44f71
commit 0facfc11be

View File

@@ -186,7 +186,7 @@ export const EffectsConfiguration = ({
muted
style={{
transform: 'rotateY(180deg)',
minHeight: '175px',
[layout === 'vertical' ? 'height' : 'minHeight']: '175px',
borderRadius: '8px',
}}
/>