This commit is contained in:
2025-07-28 12:41:24 +05:00
parent 78133900fe
commit e53535cb6e
2 changed files with 40 additions and 69 deletions
+2 -2
View File
@@ -1,9 +1,9 @@
function VideoModal({ src }: { src: string }) {
return (
<div className="flex justify-center items-center z-10 h-full w-full">
<div className="flex justify-center items-center z-10 h-dvh w-full">
<video
src={src}
className="object-cover max-w-4/5 2xl:rounded-[0.833vw] rounded-xl"
className="object-cover max-w-[95%] 2xl:rounded-[0.833vw] rounded-xl max-2xl:landscape:h-[calc(100dvh-56px)]"
autoPlay
muted
loop