Skip to content

Commit

Permalink
fix svgs colors display in file input component
Browse files Browse the repository at this point in the history
  • Loading branch information
dEdmishka committed Jan 29, 2024
1 parent edb5ae8 commit 8bc864b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/components/pages/profile/file-input.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -70,20 +70,20 @@ const FileInput: FC<FileInputProps> = ({ className }) => {
<div>
<img className="w-[144px] h-[144px] rounded-3xl" src={preview} />
<Icons.cross
className="absolute z-10 top-4 right-4 fill-[#F0F2F8] dark:fill-[#1C1D1F]"
className="absolute z-10 top-4 right-4 text-base-white dark:text-base-black"
onClick={clearSelectFile}
/>
</div>
) : (
<div>
<Icons.photo_profile className="fill-[#F0F2F8] dark:fill-[#1C1D1F]" />
<Icons.photo_profile className="text-base-gray-2 dark:text-base-black" />
</div>
)}
<div
className="absolute -bottom-4 right-1/2 translate-x-1/2"
onClick={handleSelectFile}
>
<Icons.mingcute_camera className="fill-white dark:fill-[#7F92DC]" />
<Icons.mingcute_camera className="text-white dark:text-bright-indigo" />
</div>

<div
Expand Down

0 comments on commit 8bc864b

Please sign in to comment.