videos upd
This commit is contained in:
@@ -45,7 +45,7 @@ function ModalContainer() {
|
||||
<div ref={rootRef} key={"modal"} className="h-full">
|
||||
<div
|
||||
ref={popoverRef}
|
||||
className="bg-black/70 fixed inset-0 max-md:top-14 flex flex-col items-center justify-center overflow-y-auto z-10"
|
||||
className="bg-black/70 max-md:top-14 flex overflow-y-auto fixed inset-0 z-50 flex-col justify-center items-center"
|
||||
>
|
||||
<div className="max-h-full">
|
||||
<motion.div
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
function VideoModal({ src }: { src: string }) {
|
||||
return (
|
||||
<div className="flex justify-center items-center z-10 h-dvh w-full">
|
||||
<div className="h-dvh flex z-10 justify-center items-center w-full">
|
||||
<video
|
||||
src={src}
|
||||
className="object-cover max-w-[95%] 2xl:rounded-[0.833vw] rounded-xl max-2xl:landscape:h-[calc(100dvh-56px)]"
|
||||
|
||||
Reference in New Issue
Block a user