This commit is contained in:
2024-09-10 19:18:51 +05:00
parent 708ed301a9
commit b4be66dcb3
13 changed files with 225 additions and 69 deletions
+1 -1
View File
@@ -15,7 +15,7 @@ function NavbarModal() {
}, []);
return (
<div className="fixed top-[56px] left-0 w-full h-[calc(100vh-56px)] bg-[#F3F3F2] z-[99999999] sm:p-4 p-3 space-y-4 overflow-y-auto">
<div className="fixed top-[56px] left-0 w-full h-[calc(100dvh-56px)] bg-[#F3F3F2] z-[99999999] sm:p-4 p-3 space-y-4 overflow-y-auto">
<div className="grid sm:grid-cols-2 gap-2 border-b border-[#E2E2DC] pb-4">
<div className="flex flex-col gap-2">
<a
+2 -2
View File
@@ -205,7 +205,7 @@ function UnitModal({ unit, type }: Props) {
return (
<div
className={`fixed top-0 left-0 w-full overflow-y-scroll h-screen pt-[56px] z-40 backdrop-blur select-none`}
className={`fixed top-0 left-0 w-full overflow-y-scroll h-dvh pt-[56px] z-40 backdrop-blur select-none`}
>
<div className="flex justify-end min-h-full">
<div className="bg-[#F3F3F2] lg:p-6 p-4 max-w-[1240px] w-full sm:space-y-20 space-y-10">
@@ -424,7 +424,7 @@ function UnitModal({ unit, type }: Props) {
?.imageDesc
}
alt=""
className="lg:max-h-[644px] h-full rounded-2xl pointer-events-none object-cover max-sm:aspect-square"
className="lg:max-h-[644px] sm:h-full rounded-2xl pointer-events-none object-cover max-sm:aspect-square"
/>
{/* <div
className="lg:max-h-[644px] sm:h-full max-sm:aspect-square bg-center bg-no-repeat bg-cover rounded-2xl"