From a67e72ff37a587a92942ef61ee6797f0db977cdf Mon Sep 17 00:00:00 2001 From: Martin Rocek Date: Mon, 8 Mar 2021 20:28:13 +0100 Subject: [PATCH] :sparkles: add frequency to pie chart --- package.json | 2 +- src/assets/main.css | 6 +++++ src/components/PieChart.vue | 47 ++++++++++++++++++++++++++++++----- src/components/Select.vue | 2 +- src/mixins/chartOperations.js | 2 +- src/translations/cs.json | 2 +- src/views/Document.vue | 4 +-- 7 files changed, 53 insertions(+), 12 deletions(-) diff --git a/package.json b/package.json index e244722..334acdf 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "spring", - "version": "0.2.4-beta", + "version": "0.2.5-beta", "private": true, "author": { "name": "Martin Roček", diff --git a/src/assets/main.css b/src/assets/main.css index 5bb6b2c..300a8ad 100644 --- a/src/assets/main.css +++ b/src/assets/main.css @@ -649,6 +649,12 @@ body { position: relative; transition: color, background .3s cubic-bezier(0.175, 0.885, 0.32, 1.275); } +.select__selected-choice::first-letter { + text-transform: uppercase; +} +.select__list li::first-letter { + text-transform: uppercase; +} .select__choice:hover { background-color: var(--blue-300); color: var(--white); diff --git a/src/components/PieChart.vue b/src/components/PieChart.vue index 1106a07..971636d 100644 --- a/src/components/PieChart.vue +++ b/src/components/PieChart.vue @@ -1,8 +1,21 @@