Fix portrait layout disappearing

This commit is contained in:
Nicolas Mowen 2024-04-13 07:16:18 -06:00
parent 3788df5bc6
commit ebe5b92739

View File

@ -366,7 +366,7 @@ export function RecordingView({
key={mainCamera}
className={
isDesktop
? `${mainCameraAspect == "tall" ? "xl:h-[90%]" : mainCameraAspect == "wide" ? "w-full" : "w-[78%]"} px-4 flex justify-center`
? `${mainCameraAspect == "tall" ? "h-[50%] md:h-[60%] lg:h-[75%] xl: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-[94%] aspect-video"}`
}
style={{