Skip to content

Commit

Permalink
fix: 🐛 syling box
Browse files Browse the repository at this point in the history
  • Loading branch information
dfrnoch committed Aug 22, 2024
1 parent 8d08c36 commit 61df5ba
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions src/shared/components/Box.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@ const Box: ParentComponent<{ onClick: () => void; active?: boolean; icon: string
<div
onclick={props.onClick}
classList={{
"items-center py-4 border text-primary border-neutral-900 rounded-md shadow-inner bg-neutral-900 px-10 transition cursor-pointer flex flex-col gap-2": true,
"bg-pimary": props.active,
"bg-primary": !props.active,
"items-center py-4 border text-primary border-neutral-900 rounded-md shadow-inner px-10 transition cursor-pointer flex flex-col gap-2": true,
"bg-secondary": props.active,
}}
>
<p class="text-3xl">{props.icon}</p>
Expand Down

0 comments on commit 61df5ba

Please sign in to comment.