Fix height

This commit is contained in:
Nicolas Mowen 2024-04-07 06:18:16 -06:00
parent ad4fad7d8c
commit 7be282c4be

View File

@ -352,7 +352,7 @@ export function RecordingView({
className={ className={
isDesktop isDesktop
? `${mainCameraAspect == "tall" ? "h-[90%]" : mainCameraAspect == "wide" ? "w-full" : "w-[78%]"} px-4 flex justify-center` ? `${mainCameraAspect == "tall" ? "h-[90%]" : mainCameraAspect == "wide" ? "w-full" : "w-[78%]"} px-4 flex justify-center`
: `portrait:w-full pt-2 ${mainCameraAspect == "wide" ? "landscape:w-full aspect-wide" : "landscape:h-full aspect-video"}` : `portrait:w-full pt-2 ${mainCameraAspect == "wide" ? "landscape:w-full aspect-wide" : "landscape:h-[94%] aspect-video"}`
} }
style={{ style={{
aspectRatio: isDesktop aspectRatio: isDesktop