From e47f98bdfa3934c0884d6111fabb3ee5e58a0092 Mon Sep 17 00:00:00 2001 From: Visrut Date: Mon, 4 Sep 2023 21:36:44 +0530 Subject: [PATCH] improve button and text input design --- app/create-survey/components/NumberInput/index.tsx | 2 +- app/create-survey/components/TextInput/index.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/app/create-survey/components/NumberInput/index.tsx b/app/create-survey/components/NumberInput/index.tsx index cf7f52e..f641acd 100644 --- a/app/create-survey/components/NumberInput/index.tsx +++ b/app/create-survey/components/NumberInput/index.tsx @@ -20,7 +20,7 @@ const NumberInput = ({ setAnswer }: QuestionUiProps) => { e.preventDefault() setAnswer && setAnswer(selectedNumber) }} - className='btn-primary' + className='btn-primary self-end my-5 mx-10' style={{ width: '70px' }} > Next diff --git a/app/create-survey/components/TextInput/index.tsx b/app/create-survey/components/TextInput/index.tsx index c0ae5a1..85f6651 100644 --- a/app/create-survey/components/TextInput/index.tsx +++ b/app/create-survey/components/TextInput/index.tsx @@ -20,7 +20,7 @@ const TextInput = ({ setAnswer }: QuestionUiProps) => { e.preventDefault() setAnswer && setAnswer(text) }} - className='btn-primary' + className='btn-primary self-end my-5 mx-10' style={{ width: '70px' }} > Next