From 78f4f3f41c504007159ba0c6047d53de2faddc5c Mon Sep 17 00:00:00 2001 From: Your Name Date: Tue, 12 Apr 2022 09:28:22 +0430 Subject: [PATCH] update src/components/CardTrelloDesign/index.js and src/components/NewTagDesign/index.js --- src/components/CardTrelloDesign/index.js | 28 +++++++++++++----------- src/components/NewTagDesign/index.js | 4 +++- 2 files changed, 18 insertions(+), 14 deletions(-) diff --git a/src/components/CardTrelloDesign/index.js b/src/components/CardTrelloDesign/index.js index 0a4aba2..4fbecf2 100644 --- a/src/components/CardTrelloDesign/index.js +++ b/src/components/CardTrelloDesign/index.js @@ -29,13 +29,13 @@ const CardTrelloDesign = ({ circle, pictures }) => { {/* left */}
@@ -43,8 +43,8 @@ const CardTrelloDesign = ({ circle, pictures }) => { bgColor={"bg-[#0AABFF]"} bgHoverColor={"bg-transparent"} border={"border-none"} - paddingX={"p-3"} - paddingY={"p-3"} + paddingX={"p-1"} + paddingY={"p-0.5"} fontSize={"text-xs"} borderRadius={"rounded-sm"} icon={false} @@ -54,10 +54,10 @@ const CardTrelloDesign = ({ circle, pictures }) => { bgColor={"bg-[#C7FF0A]"} bgHoverColor={"bg-transparent"} border={"border-none"} - paddingX={"p-3"} - paddingY={"p-3"} + paddingX={"p-1"} + paddingY={"p-0.5"} fontSize={"text-xs"} - borderRadius={"rounded-md"} + borderRadius={"rounded-sm"} icon={false} text={"بک اند"} /> @@ -91,12 +91,13 @@ const CardTrelloDesign = ({ circle, pictures }) => { titleColor="text-[#007987]" tagBgColor={"bg-[#06BACE33]"} border={"border-none"} + borderRadius={"rounded-sm"} iconWidth={"w-4"} marginRight="mr-0" marginLeft="ml-1" icon={clock} - paddingY={"p-2"} - paddingX={"p-2"} + paddingY={"p-1"} + paddingX={"p-1"} /> { titleColor="text-[#FFB300]" tagBgColor={"bg-[#FFAA0033]"} border={"border-none"} + borderRadius={"rounded-sm"} iconWidth={"w-4"} marginRight="mr-0" marginLeft="ml-1" icon={nike} - paddingY={"p-2"} - paddingX={"p-2"} + paddingY={"p-1"} + paddingX={"p-1"} />
diff --git a/src/components/NewTagDesign/index.js b/src/components/NewTagDesign/index.js index 527881a..5eaf895 100644 --- a/src/components/NewTagDesign/index.js +++ b/src/components/NewTagDesign/index.js @@ -10,6 +10,7 @@ const NewTagDesign = ({ icon, fontSize, border, + borderRadius, iconWidth, marginRight, marginLeft, @@ -19,7 +20,7 @@ const NewTagDesign = ({ }) => { return (