PieChart: Show long labels properly (#65699)

Fix label hidden when overflowing
This commit is contained in:
Victor Marin 2023-04-05 11:28:03 +03:00 committed by GitHub
parent eec7462bc3
commit 91a61f1e0d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ export const PieChart = ({
return (
<div className={styles.container}>
<svg width={layout.size} height={layout.size} ref={containerRef}>
<svg width={layout.size} height={layout.size} ref={containerRef} style={{ overflow: 'visible' }}>
<Group top={layout.position} left={layout.position}>
{colors.map((color) => {
return (