From c509deb09299cdb641d3382be2597efbf23c2f03 Mon Sep 17 00:00:00 2001 From: Ramon Wenger Date: Thu, 19 Jan 2023 18:40:37 +0100 Subject: [PATCH] Add wrapper component for a question summary Also add mobile version of the horizontal bar chart --- .../src/components/ui/HorizontalBarChart.vue | 65 +++++++++++-------- client/src/components/ui/QuestionSummary.vue | 16 +++++ client/src/components/ui/RatingScale.vue | 21 +++--- client/src/pages/StyleGuidePage.vue | 10 +-- client/tailwind.config.js | 1 + 5 files changed, 71 insertions(+), 42 deletions(-) create mode 100644 client/src/components/ui/QuestionSummary.vue diff --git a/client/src/components/ui/HorizontalBarChart.vue b/client/src/components/ui/HorizontalBarChart.vue index a3a30d9d..9576873e 100644 --- a/client/src/components/ui/HorizontalBarChart.vue +++ b/client/src/components/ui/HorizontalBarChart.vue @@ -1,39 +1,48 @@ diff --git a/client/src/components/ui/RatingScale.vue b/client/src/components/ui/RatingScale.vue index 7aaed69f..1b317087 100644 --- a/client/src/components/ui/RatingScale.vue +++ b/client/src/components/ui/RatingScale.vue @@ -1,11 +1,7 @@