Skip to content

Commit

Permalink
Merge pull request #1646 from jplag/report-viewer/fix-cluster-text
Browse files Browse the repository at this point in the history
show hover text all the time
  • Loading branch information
tsaglam authored Mar 13, 2024
2 parents 53ef1b5 + a0962c5 commit 5178584
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
16 changes: 8 additions & 8 deletions report-viewer/src/components/ClusterGraph.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<div class="print:max-h-full print:max-w-full">
<div class="print:max-h-full print:max-w-full">
<canvas ref="graphCanvas" class="print:max-h-full print:max-w-full"></canvas>
<div
v-if="!allComparisonsPresent"
class="mt-8 text-xs font-bold text-gray-500 dark:text-gray-400"
>
<div class="flex max-h-full flex-col overflow-hidden print:max-w-full">
<div class="flex max-h-full flex-col overflow-hidden print:max-w-full">
<canvas
ref="graphCanvas"
class="min-h-0 flex-grow print:max-h-full print:max-w-full"
></canvas>
<div class="mt-5 text-xs font-bold text-gray-500 dark:text-gray-400 print:hidden">
<p>Hover over an edge to highlight it in the table.</p>
<p class="mt-2">
<p class="mt-2" v-if="!allComparisonsPresent">
Not all comparisons of this cluster are present. These comparisons are indicated by the
dashed lines. <br />
To include more comparisons, increase the number of increased comparisons in the CLI.
Expand Down
2 changes: 1 addition & 1 deletion report-viewer/src/components/ClusterRadarChart.vue
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<div class="flex min-h-0 flex-grow justify-center">
<Radar :data="chartData" :options="radarChartOptions" />
</div>
<div class="text-xs font-bold text-gray-500 dark:text-gray-400">
<div class="text-xs font-bold text-gray-500 dark:text-gray-400 print:hidden">
<p>
This Chart shows the average similarity of the selected submission to the other
submissions in the cluster. <br />
Expand Down

0 comments on commit 5178584

Please sign in to comment.