Skip to content

Commit

Permalink
style change
Browse files Browse the repository at this point in the history
  • Loading branch information
heybereket committed Jun 11, 2023
1 parent a4a01ce commit dbcabb8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions components/TabButton.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,14 +11,16 @@ interface Props {
export const TabButton = (props: Props) => {
return (
<div
className={`${props.className} bg-card hover:text-white transition-all duration-150 ${
className={`${
props.className
} bg-card hover:text-white transition-all duration-150 ${
props.active === props.tab ? "text-white" : "text-lightGray"
} font-semibold rounded-lg`}
>
<div className="bg-gradient-to-b from-[#191919] to-card drop-shadow-[0_0.125rem_0.125rem_rgba(0,0,0,0.25)] rounded-lg">
<button
onClick={props.onClick}
className={`bg-card px-5 py-2 ${props.className ?? 'rounded-lg'}`}
className={`bg-card px-5 py-2 ${props.className ?? "rounded-lg"}`}
>
{props.children}
</button>
Expand Down

1 comment on commit dbcabb8

@vercel
Copy link

@vercel vercel bot commented on dbcabb8 Jun 11, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.