From 34930eae3b95778aa17461d0665f43b9dcadae93 Mon Sep 17 00:00:00 2001 From: wlren Date: Sun, 9 Oct 2022 14:11:57 +0800 Subject: [PATCH] [questions][ui] css changes --- .../src/components/questions/ContributeQuestionCard.tsx | 4 ++-- .../src/components/questions/ContributeQuestionDialog.tsx | 2 +- apps/portal/src/pages/questions/index.tsx | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/apps/portal/src/components/questions/ContributeQuestionCard.tsx b/apps/portal/src/components/questions/ContributeQuestionCard.tsx index 54df1080..81ba6167 100644 --- a/apps/portal/src/components/questions/ContributeQuestionCard.tsx +++ b/apps/portal/src/components/questions/ContributeQuestionCard.tsx @@ -20,7 +20,7 @@ export default function ContributeQuestionCard() { }; return ( - <> +
@@ -67,6 +67,6 @@ export default function ContributeQuestionCard() { show={showDraftDialog} onCancel={handleDraftDialogCancel} /> - +
); } diff --git a/apps/portal/src/components/questions/ContributeQuestionDialog.tsx b/apps/portal/src/components/questions/ContributeQuestionDialog.tsx index 4b551016..6c3d024a 100644 --- a/apps/portal/src/components/questions/ContributeQuestionDialog.tsx +++ b/apps/portal/src/components/questions/ContributeQuestionDialog.tsx @@ -32,7 +32,6 @@ export default function ContributeQuestionDialog({ className="relative z-10" onClose={() => { // Todo: save state - setShowDiscardDialog(false); onCancel(); }}> { // eslint-disable-next-line no-console console.log(data); + onCancel(); }} />
diff --git a/apps/portal/src/pages/questions/index.tsx b/apps/portal/src/pages/questions/index.tsx index 23ba9b32..e77618ed 100644 --- a/apps/portal/src/pages/questions/index.tsx +++ b/apps/portal/src/pages/questions/index.tsx @@ -200,8 +200,8 @@ export default function QuestionsHomePage() {
-
-
+
+