Skip to content

Commit 12ce97c

Browse files
changes
1 parent be68d7f commit 12ce97c

File tree

5 files changed

+14
-18
lines changed

5 files changed

+14
-18
lines changed
Lines changed: 12 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,15 @@
1-
import React from 'react';
2-
import { PrimaryHeader } from '../../pages/common/header';
3-
import { SideBar } from '../../pages/common/sidebar';
1+
import React from "react";
42

53
export function Layout({ children, location, history }) {
6-
return (
7-
<>
8-
<div className="flex h-[100vh] w-full bg-gray-100">
9-
<SideBar location={location} />
10-
<div className="h-[100vh] w-full flex flex-col bg-primary-background min-h-screen w-full rounded md:pb-5">
11-
<PrimaryHeader location={location} history={history} />
12-
<div className="px-4 mt-4 w-full mx-auto flex flex-col h-full overflow-y-scroll overflow-x-hidden">
13-
{children}
14-
</div>
15-
</div>
16-
</div>
17-
</>
18-
);
4+
return (
5+
<>
6+
<div className="flex h-[100vh] w-full bg-gray-100">
7+
<div className="h-[100vh] w-full flex flex-col bg-primary-background min-h-screen w-full rounded md:pb-5">
8+
<div className="px-4 mt-4 w-full mx-auto flex flex-col h-full overflow-y-scroll overflow-x-hidden">
9+
{children}
10+
</div>
11+
</div>
12+
</div>
13+
</>
14+
);
1915
}
45.3 KB
Loading
45.3 KB
Loading

frontend/src/pages/propertyDoc/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ export const PropertyDoc = () => {
7676
<div className="h-[100vh] w-full flex flex-col bg-primary-background min-h-screen rounded ">
7777
<div className="w-full flex justify-between text-center md:p-6 md:pr-8 py-4 px-2 pl-0 pb-10 bg-[#C6C6C63D]">
7878
<div
79-
className="max-w-7xl sm:px-6 lg:px-8"
79+
className="max-w-7xl sm:px-6 lg:px-8 flex"
8080
onClick={() => navigate("/")}
8181
>
8282
<img src={logo} alt="logo" className="h-8 w-8 mr-2" />

frontend/src/pages/propertyOnMap/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export const PropertyOnMap = () => {
9696
<div className="h-[100vh] w-full flex flex-col bg-primary-background min-h-screen rounded ">
9797
<div className="w-full flex justify-between text-center md:p-6 md:pr-8 py-4 px-2 pl-0 pb-10 bg-[#C6C6C63D]">
9898
<div
99-
className="max-w-7xl sm:px-6 lg:px-8"
99+
className="max-w-7xl sm:px-6 lg:px-8 flex"
100100
onClick={() => navigate("/")}
101101
>
102102
<img src={logo} alt="logo" className="h-8 w-8 mr-2" />

0 commit comments

Comments
 (0)