Skip to content

Commit

Permalink
fix: reduce font size in vertical mode
Browse files Browse the repository at this point in the history
Release-As: 3.0.0
  • Loading branch information
MindFreeze committed Apr 25, 2024
1 parent ac0ff10 commit 748e5f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/const.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ export const UNIT_PREFIXES = {
};

export const MIN_LABEL_HEIGHT = 15;
export const CHAR_WIDTH_RATIO = 8.05; // px per char, trial and error
export const CHAR_WIDTH_RATIO = 8.15; // px per char, trial and error

export const MIN_HORIZONTAL_SECTION_W = 150;
export const MIN_VERTICAL_SECTION_H = 150;
Expand Down

0 comments on commit 748e5f2

Please sign in to comment.