Skip to content

Commit

Permalink
fix short names
Browse files Browse the repository at this point in the history
  • Loading branch information
Kr0nox committed Oct 2, 2023
1 parent 1de9855 commit 1b3d678
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion report-viewer/src/components/ClusterGraph.vue
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,6 @@ const xPadding = computed(() => {
const widths = labels.value.map((label) => label.length * avgCharacterLength)
const maxWidth = Math.max(...widths)
console.log(maxWidth)
// Makes sure there is always space to display a name but the padding does not get too big
return Math.max(Math.min(200, maxWidth), 40)
})
Expand Down

0 comments on commit 1b3d678

Please sign in to comment.