Skip to content

Commit

Permalink
Merge pull request #750 from hngprojects/Vxrcel-clean
Browse files Browse the repository at this point in the history
Vxrcel clean
  • Loading branch information
kleenpulse authored Jul 29, 2024
2 parents dc1d4eb + 3de28ab commit 7b58356
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ const ProjectLogo = ({ form, name }: Properties) => {
};

return (
<div className="relative grid h-full w-[inherit] place-items-center rounded-xl border border-dashed border-[#CBD5E1] bg-[#FAFAFA]">
<div className="relative grid h-full w-[inherit] place-items-center rounded-xl bg-[#FAFAFA]">
<div
data-upload
className="flexx absolute inset-0 z-10 hidden items-center justify-center rounded-xl bg-white/30 text-black"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ const ProductDetailsComponent = ({
onSubmit={new_product_form.handleSubmit(onSubmit)}
className="relative flex w-full flex-col gap-y-8 md:gap-y-10"
>
<div className="sticky top-0 flex w-full items-center justify-between">
<div className="sticky top-0 flex w-full items-center justify-between bg-white/80 py-2 backdrop-blur">
<div className="flex items-center gap-x-2 md:gap-x-4">
<Link
href={"/dashboard/products"}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export const EditProductSchema = z.object({
.string()
.min(3, { message: "Description is required" })
.max(MAX_CHAR, { message: "Description is too long" }),
category: z.string().min(3, { message: "Category is required" }),
category: z.string().min(3, { message: "Availability is required" }),
price: z
.string()
.min(1, { message: "Price is required" })
Expand Down

0 comments on commit 7b58356

Please sign in to comment.