diff --git a/client/index.html b/client/index.html index 75616849..d51b3bec 100644 --- a/client/index.html +++ b/client/index.html @@ -1,5 +1,5 @@ - + diff --git a/client/src/components/circle/CircleDiagram.vue b/client/src/components/circle/CircleDiagram.vue index 49e80cba..1de51ddb 100644 --- a/client/src/components/circle/CircleDiagram.vue +++ b/client/src/components/circle/CircleDiagram.vue @@ -48,6 +48,7 @@ const pieData = computed(() => { pie.arrowStartAngle = pie.endAngle + (pie.startAngle - pie.endAngle) / 2 pie.arrowEndAngle = pie.startAngle + (pie.startAngle - pie.endAngle) / 2 pie.translation_key = thisLearningSequence.translation_key + pie.slug = thisLearningSequence.slug pie.someFinished = someFinished(thisLearningSequence) pie.allFinished = allFinished(thisLearningSequence) }) @@ -146,7 +147,7 @@ function render() { }) .on('click', function (d, elm) { console.log('clicked on ', d, elm) - document.getElementById(elm.translation_key)?.scrollIntoView({behavior: 'smooth'}) + document.getElementById(elm.slug)?.scrollIntoView({behavior: 'smooth'}) }) @@ -164,7 +165,7 @@ function render() { const learningSequenceText = learningSequences .append('text') .attr('fill', colors.blue[900]) - .style('font-size', 15) + .style('font-size', '15px') .text((d) => { return d.title }) diff --git a/client/src/components/circle/CircleOverview.vue b/client/src/components/circle/CircleOverview.vue index ce95474a..094a1bbd 100644 --- a/client/src/components/circle/CircleOverview.vue +++ b/client/src/components/circle/CircleOverview.vue @@ -12,32 +12,36 @@ const props = defineProps<{ diff --git a/client/src/components/circle/LearningContent.vue b/client/src/components/circle/LearningContent.vue index bbc0515a..b1b7e8a1 100644 --- a/client/src/components/circle/LearningContent.vue +++ b/client/src/components/circle/LearningContent.vue @@ -27,20 +27,20 @@ const block = computed(() => { -

{{ learningContent?.title }}

+

{{ learningContent?.title }}

@@ -50,7 +50,7 @@ const block = computed(() => {