Skip to content

Commit 0324237

Browse files
committed
fix: do not crop overflowing long data labels on the rim
1 parent 25d82ae commit 0324237

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

app/components/Compare/FacetQuadrantChart.vue

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -489,4 +489,13 @@ const config = computed<VueUiQuadrantConfig>(() => {
489489
outline: 0.1rem solid var(--accent-color) !important;
490490
border-radius: 0.25rem;
491491
}
492+
493+
/**
494+
* Temporary override (to be removed if/when a fix in vue-data-ui is found, like a dynamic repositioning of labels, or line-break forcing)
495+
* a long label for a datapoint placed on the border of the svg might be cropped by the overflow-hidden
496+
* set by the library on the chart component.
497+
*/
498+
:deep(.vue-ui-quadrant svg) {
499+
overflow: visible !important;
500+
}
492501
</style>

0 commit comments

Comments
 (0)