Skip to content

Commit

Permalink
chore: Update minimum padding
Browse files Browse the repository at this point in the history
  • Loading branch information
Francesco Longo committed Sep 26, 2023
1 parent e36e1f8 commit c95f41e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pie-chart/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ export interface Dimension {
const paddingLabels = 44; // = 2 * (size-lineHeight-body-100)
const defaultPadding = 12; // = space-s
const smallPadding = 8; // = space-xs
export const minLabelLineAngularPadding = Math.PI / 10;
export const minLabelLineAngularPadding = Math.PI / 20;

export const dimensionsBySize: Record<NonNullable<PieChartProps['size']>, Dimension> = {
small: {
Expand Down

0 comments on commit c95f41e

Please sign in to comment.