We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5619dca commit 9154ab7Copy full SHA for 9154ab7
frontend/src/components/About/PortfolioDisplay.tsx
@@ -21,7 +21,7 @@ const PortfolioDisplay = () => {
21
<div className="flex justify-between max-w-full h-10 my-6 snap-x snap-mandatory overflow-scroll hide-scrollbar">
22
{names.map((name) => (
23
<button
24
- className="grow text-center border border-white bg-blue-700 p-2"
+ className={`grow text-center border border-white ${name === selectedPortfolio ? "bg-blue-400" : "bg-blue-700"} p-2`}
25
key={`btn-${name}`}
26
onClick={() => setSelectedPortfolio(name)}
27
>
0 commit comments