Skip to content

Commit 9c28275

Browse files
committed
chore: update with suggested changes
1 parent 0716536 commit 9c28275

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/components/BugBountyCards.tsx

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ const Card = ({ children, ...props }: FlexProps) => {
3030
className={cn(
3131
"flex-[1_1_412px] gap-0 xl:flex-[1_1_216px]",
3232
"m-4 justify-between bg-background",
33-
"rounded-sm border border-[#e5e5e5] shadow-table-box dark:border-[#333]",
34-
"hover:scale-[1.02] hover:rounded hover:bg-[#f2f2f2] hover:shadow-table-box-hover hover:transition-transform hover:duration-100 dark:hover:bg-[rgba(255,115,36,.013)]"
33+
"rounded-sm border shadow-table-box",
34+
"hover:scale-[1.02] hover:rounded hover:bg-background-highlight hover:shadow-table-box-hover hover:transition-transform hover:duration-100"
3535
)}
3636
{...props}
3737
>
@@ -59,7 +59,7 @@ const Label = ({ children, variant = "medium", ...props }: LabelProps) => {
5959
return (
6060
<Center
6161
className={cn(
62-
"rounded-t-[1px] border-b border-[#e5e5e5] px-0 py-1 text-sm uppercase",
62+
"rounded-t-[1px] border-b px-0 py-1 text-sm uppercase",
6363
variantClassName
6464
)}
6565
{...props}
@@ -71,10 +71,7 @@ const Label = ({ children, variant = "medium", ...props }: LabelProps) => {
7171

7272
const H2 = ({ children, ...props }) => (
7373
<h2
74-
className={cn(
75-
"-mb-2 mt-2 p-4",
76-
"text-start text-2xl font-bold leading-[22px]"
77-
)}
74+
className={cn("-mb-2 mt-2 p-4", "text-start text-2xl font-bold leading-6")}
7875
{...props}
7976
>
8077
{children}

0 commit comments

Comments
 (0)