From b37e2e164e81863937be130fc38b2bf83885fc1c Mon Sep 17 00:00:00 2001 From: wlren Date: Thu, 20 Oct 2022 11:24:47 +0800 Subject: [PATCH] [questions][ui] bottom padding --- apps/portal/src/pages/questions/index.tsx | 63 ++++++++++++----------- 1 file changed, 33 insertions(+), 30 deletions(-) diff --git a/apps/portal/src/pages/questions/index.tsx b/apps/portal/src/pages/questions/index.tsx index f3ef3c49..69e6dae7 100644 --- a/apps/portal/src/pages/questions/index.tsx +++ b/apps/portal/src/pages/questions/index.tsx @@ -370,36 +370,39 @@ export default function QuestionsHomePage() { console.log(value); }} /> - {(questions ?? []).map((question) => ( - { - console.log(data); - }} - /> - ))} - {questions?.length === 0 && ( -
- -

Nothing found. Try changing your search filters.

-
- )} +
+ {(questions ?? []).map((question) => ( + { + // eslint-disable-next-line no-console + console.log(data); + }} + /> + ))} + {questions?.length === 0 && ( +
+ +

Nothing found. Try changing your search filters.

+
+ )} +