Skip to content

Commit

Permalink
Merge pull request #16 from 5Khaled/main
Browse files Browse the repository at this point in the history
fix: increased selected tap buttons opacity
  • Loading branch information
vwh authored Dec 22, 2024
2 parents cb9e605 + 1d1f463 commit 1cdbdaf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions src/components/editing-section.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -83,17 +83,15 @@ export default function EditingSection() {
<section className="flex">
<Button
variant="gooeyLeft"
className="w-full rounded-none rounded-bl rounded-tl border-r-2"
className={`${tapName === "icon" && "opacity-65"} w-full rounded-none rounded-bl rounded-tl border-r-2`}
onClick={() => setTapName("icon")}
disabled={tapName === "icon"}
>
Icon
</Button>
<Button
variant="gooeyRight"
className="w-full rounded-none rounded-br rounded-tr"
className={`${tapName === "background" && "opacity-65"} w-full rounded-none rounded-br rounded-tr`}
onClick={() => setTapName("background")}
disabled={tapName === "background"}
>
Background
</Button>
Expand Down

0 comments on commit 1cdbdaf

Please sign in to comment.