Skip to content

Commit af4aa58

Browse files
fix(axis): use titleFontSize for debug rect for horizontal axis title (#17)
fixes #11
1 parent 42585f7 commit af4aa58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/react_canvas/axis.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ export class Axis extends React.PureComponent<AxisProps> {
256256
x={left}
257257
y={top}
258258
width={width}
259-
height={maxLabelBboxHeight}
259+
height={titleFontSize}
260260
stroke="black"
261261
strokeWidth={1}
262262
fill="violet"

0 commit comments

Comments
 (0)