From 8725ebd0643d2458010e506963ebcec366229048 Mon Sep 17 00:00:00 2001 From: anandbaburajan Date: Tue, 2 Apr 2024 11:07:44 +0530 Subject: [PATCH] chore: UI improvements on create poll page and wording changes --- pages/index.tsx | 33 ++++++++-------- src/components/poll/AdminPollInfo.tsx | 8 +--- src/components/poll/MarkTimesOneOnOne.tsx | 14 +++---- src/components/poll/PollTableAdmin.tsx | 2 +- src/components/poll/PollTableVoter.tsx | 33 ++++++++-------- src/components/poll/SubmitFinalTime.tsx | 6 +-- src/components/poll/SubmitTimes.tsx | 4 +- src/models/poll.ts | 4 +- src/styles/form.scss | 47 +++++++++++++++++++---- src/styles/new-poll.scss | 10 ++--- src/styles/poll.scss | 6 +-- 11 files changed, 97 insertions(+), 70 deletions(-) diff --git a/pages/index.tsx b/pages/index.tsx index 1750ec7..89829ed 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -29,7 +29,7 @@ const Home = (): JSX.Element => { pollTitle: "", pollLocation: "", pollDescription: "", - pollType: "Group-poll", + pollType: "group", }); const { pollTitle, pollLocation, pollDescription, pollType } = pollDetails; @@ -167,7 +167,7 @@ const Home = (): JSX.Element => { - + { onChange={handlePollDetailsChange} /> - + { onChange={handlePollDetailsChange} /> - + { onChange={handlePollDetailsChange} /> - - - - - - - + + + + + + +