File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ function App() {
29
29
lat,
30
30
long,
31
31
} ) ,
32
- [ lat , long ] ,
32
+ [ lat , long ]
33
33
) ;
34
34
35
35
function startLocationPrompter ( ) {
@@ -58,7 +58,7 @@ function App() {
58
58
} , [ ] ) ;
59
59
60
60
return (
61
- < div className = "App flex flex-col h-full pt-24 min-h-screen dark:text-white w-screen pl-3 pr-3 pb-3 text-zinc-800 bg-zinc-100 dark:bg-zinc-800 overflow-hidden" >
61
+ < div className = "App md:max-w-4xl ml-auto mr-auto flex flex-col h-full pt-24 min-h-screen dark:text-white w-screen pl-3 pr-3 pb-3 text-zinc-800 bg-zinc-100 dark:bg-zinc-800 overflow-hidden" >
62
62
< LatLongContext . Provider value = { contextLatLong } >
63
63
< PermissionContext . Provider
64
64
value = { useMemo ( ( ) => ( { openStreetMapConsent, setOpenStreetMapConsent } ) , [ openStreetMapConsent ] ) }
@@ -73,7 +73,7 @@ function App() {
73
73
listOfUnlocked,
74
74
setListOfUnlocked,
75
75
} ) ,
76
- [ selectedRoute , nextUnlockablePointId , listOfUnlocked ] ,
76
+ [ selectedRoute , nextUnlockablePointId , listOfUnlocked ]
77
77
) }
78
78
>
79
79
< Navbar />
@@ -86,7 +86,7 @@ function App() {
86
86
errorText,
87
87
setErrorText,
88
88
} ) ,
89
- [ error , errorText ] ,
89
+ [ error , errorText ]
90
90
) }
91
91
>
92
92
< Switch >
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ const Navbar = () => {
9
9
const { pathname } = useLocation ( ) ;
10
10
11
11
return (
12
- < div className = "fixed top-0 left-0 right-0 p-2 bg-zinc-100 dark:bg-zinc-800 z-40" >
12
+ < div className = "md:max-w-4xl ml-auto mr-auto fixed top-0 left-0 right-0 px-3 bg-zinc-100 dark:bg-zinc-800 z-40" >
13
13
< div className = "mb-6 mt-4 flex justify-between" >
14
14
{ pathname === "/" && < img src = { Logo } alt = "" className = "w-10 h-10" /> }
15
15
{ pathname !== "/" && < BackButton /> }
You can’t perform that action at this time.
0 commit comments