Skip to content
This repository has been archived by the owner on Mar 12, 2024. It is now read-only.

Commit

Permalink
Reduce again max font size
Browse files Browse the repository at this point in the history
  • Loading branch information
danthe3rd committed Sep 30, 2021
1 parent e85530c commit 6e02427
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parallel/parallel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -661,7 +661,7 @@ export class ParallelPlot extends React.Component<ParallelPlotData, ParallelPlot
// Set optimal rotation angle and scale fonts so that everything fits on screen
const MIN_ROTATION_ANGLE = 20;
const MAX_ROTATION_ANGLE = 70;
const MAX_FONT_SIZE = 20;
const MAX_FONT_SIZE = 16;
const MIN_FONT_SIZE = 6;
const MAX_X = this.dimensions_dom.node().parentElement.parentElement.getBoundingClientRect().right;
const ROTATION_ANGLE_RADS = Math.max(MIN_ROTATION_ANGLE * Math.PI / 180, Math.min(MAX_ROTATION_ANGLE * Math.PI / 180,
Expand Down

0 comments on commit 6e02427

Please sign in to comment.