File tree Expand file tree Collapse file tree 5 files changed +14
-18
lines changed Expand file tree Collapse file tree 5 files changed +14
-18
lines changed Original file line number Diff line number Diff line change 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
53export 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}
Original file line number Diff line number Diff 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" />
Original file line number Diff line number Diff 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" />
You can’t perform that action at this time.
0 commit comments