From cd3b9847f3cb91520c1a995889d3e4dcb9120e17 Mon Sep 17 00:00:00 2001 From: mahdi Date: Tue, 19 Jul 2022 10:24:22 +0430 Subject: [PATCH] update src/components/Button/index.js, src/components/Card/index.js and src/components/Modal/index.js --- src/components/Button/index.js | 2 +- src/components/Card/index.js | 10 +++++----- src/components/Modal/index.js | 3 +-- 3 files changed, 7 insertions(+), 8 deletions(-) diff --git a/src/components/Button/index.js b/src/components/Button/index.js index a5c94cc..9907c85 100644 --- a/src/components/Button/index.js +++ b/src/components/Button/index.js @@ -39,7 +39,7 @@ Button.defaultProps = { text: "اطلاعات بیشتر", subTitle: false, - subTitleClass: "text-sm", + subTitleClass: "text-xs", iconHolderClassName: "bg-secondary mr-2", iconClassName: "w-4", diff --git a/src/components/Card/index.js b/src/components/Card/index.js index c40015a..c27035c 100644 --- a/src/components/Card/index.js +++ b/src/components/Card/index.js @@ -18,7 +18,7 @@ const ProcessCard = ({ processes, title, hint, buttons, options }) => { > {process.color && ( )} @@ -30,19 +30,19 @@ const ProcessCard = ({ processes, title, hint, buttons, options }) => { {/* middle */}
-

{title}

-

+

{title}

+

{hint}

{/* bottom */} -
+
{buttons.map((btn, index) => (