From a629c36fe7530fed8a97e879396ba2e13583937d Mon Sep 17 00:00:00 2001 From: Thomas Heartman Date: Sun, 27 Feb 2022 19:40:14 +0100 Subject: [PATCH] feat: hide 'very unsatisfied'/'very satisfied' on smaller sreens --- website/src/components/UserFeedback/index.jsx | 74 +++++++++++-------- .../components/UserFeedback/styles.module.css | 25 +++++++ 2 files changed, 68 insertions(+), 31 deletions(-) diff --git a/website/src/components/UserFeedback/index.jsx b/website/src/components/UserFeedback/index.jsx index f12d0eb8ce..1bbf6e22dd 100644 --- a/website/src/components/UserFeedback/index.jsx +++ b/website/src/components/UserFeedback/index.jsx @@ -106,37 +106,49 @@ export const FeedbackWrapper = ({ seedData }) => {

- - {[1, 2, 3, 4, 5].map((n) => ( - - { - const value = parseInt(e.target.value); - console.log('the value is', value); - setNewValue(value); - }} - /> - - - ))} - + + + {[1, 2, 3, 4, 5].map((n) => ( + + { + const value = parseInt(e.target.value); + console.log('the value is', value); + setNewValue(value); + }} + /> + + + ))} + +