Skip to content

Commit 40b0ff5

Browse files
fix: make pie chart legend scrollable when many groups overflow
Co-authored-by: Mike Shi <mike@hyperdx.io>
1 parent 8e36355 commit 40b0ff5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

packages/app/src/components/DBPieChart.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ const PieChartLegend = memo(
6464
<ScrollArea
6565
data-testid="pie-chart-legend"
6666
type="auto"
67-
style={{ flexShrink: 0, maxWidth: '40%', maxHeight: '100%' }}
67+
style={{ flexShrink: 0, maxWidth: '40%', alignSelf: 'stretch' }}
6868
px="sm"
6969
>
7070
<Flex direction="column" gap={4}>

0 commit comments

Comments
 (0)