Skip to content

Commit

Permalink
fix minor issues
Browse files Browse the repository at this point in the history
  • Loading branch information
leonie2003 committed Apr 24, 2024
1 parent 1d50bd2 commit 5d82a22
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
2 changes: 1 addition & 1 deletion frontend/components/input/ActionBar.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ export const ActionBar = ({
<PlusSquare
className={`w-sm${
writePermission
? " cursor-pointer text-kiokuDarkBlue hover:scale-110"
? "cursor-pointer text-kiokuDarkBlue hover:scale-110"
: "text-gray-400 hover:cursor-not-allowed"
} ${showTutorial ? "animate-bounce" : ""} flex-none
transition
Expand Down
1 change: 0 additions & 1 deletion frontend/components/navigation/Tabs/DashboardTab.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ export const DashboardTab = ({ className = "" }: DashboardTabProps) => {
<GenericPlaceholder
title="Find your favorites!"
description="Click on the heart icon in the top right corner of a deck to add it to this list."
buttonText="Show me how"
iconName="Heart"
></GenericPlaceholder>
)}
Expand Down
7 changes: 3 additions & 4 deletions frontend/components/placeholders/GenericPlaceholder.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import { MouseEventHandler, ReactNode } from "react";
import { Heart, Plus } from "react-feather";
import { MouseEventHandler } from "react";

import { Text } from "@/components/Text";
import { Icon, IconName } from "@/components/graphics/Icon";
Expand Down Expand Up @@ -54,7 +53,7 @@ export const GenericPlaceholder = ({
<Icon
icon={iconName}
className=" mx-auto size-10
self-center stroke-neutral-800 stroke-2 p-0"
self-center stroke-neutral-600 stroke-2 p-0"
/>
</div>
<div className="flex w-full flex-col gap-1 self-center text-neutral-800">
Expand All @@ -65,7 +64,7 @@ export const GenericPlaceholder = ({
onClick={onClick}
onKeyUp={clickOnEnter}
tabIndex={0}
className="h-fit w-fit rounded bg-black p-1 px-2 text-xs font-light leading-snug text-white hover:scale-105"
className="h-fit w-fit rounded bg-black p-1 px-2 text-xs font-light leading-snug text-white hover:scale-105"
>
{buttonText}
</button>
Expand Down

0 comments on commit 5d82a22

Please sign in to comment.