🐛(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:
committed by
aleb_the_flash
parent
8023e44f71
commit
0facfc11be
@@ -186,7 +186,7 @@ export const EffectsConfiguration = ({
|
|||||||
muted
|
muted
|
||||||
style={{
|
style={{
|
||||||
transform: 'rotateY(180deg)',
|
transform: 'rotateY(180deg)',
|
||||||
minHeight: '175px',
|
[layout === 'vertical' ? 'height' : 'minHeight']: '175px',
|
||||||
borderRadius: '8px',
|
borderRadius: '8px',
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
|
|||||||
Reference in New Issue
Block a user