Skip to content

Commit

Permalink
Change sidebar width and colour
Browse files Browse the repository at this point in the history
  • Loading branch information
justinfyh committed Jul 13, 2024
1 parent 766af8b commit aedbb23
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions web/src/pages/Home.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,9 @@ const Home: React.FC = () => {
return (
<div>
<NavBar />
<div className="flex">
<div className="flex w-full">
{selectedMarker && (
<div className="sidebar">
<div className="sidebar w-1/3 bg-accent text-white">
<button onClick={closeSidebar}>Close</button>
<h2>{selectedMarker}</h2>
<p>Place information goes here...</p>
Expand Down
3 changes: 1 addition & 2 deletions web/tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,12 @@ export default {
colors: {
primary: "#FDFAD7",
secondary: "#F4DEA2",
accent: "#D4A473",
// accent: "#D4A473",
gprimary: "#ABBA77",
gsecondary: "#E5ECC3",
navy: "#364652",
offwhite: "#FFF6E4",
accent: "#AACCCC",

},
},
},
Expand Down

0 comments on commit aedbb23

Please sign in to comment.