We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2305151 commit acbefcdCopy full SHA for acbefcd
src/dimensions.js
@@ -27,11 +27,7 @@ export function Dimensions(
27
marginLeft = margin !== undefined
28
? margin
29
: Math.max((yAxis === "left" ? 40 : 0) + facetMarginLeft, xAxis || fxAxis ? 20 : 0.5 - offset),
30
- height = autoHeight(
31
- scales,
32
- geometry || isProjection(projection),
33
- marginTop - marginTopAuto + marginBottom - marginBottomAuto
34
- )
+ height = autoHeight(scales, geometry || isProjection(projection)) + Math.max(0, marginTop - marginTopAuto + marginBottom - marginBottomAuto)
35
} = {}
36
) {
37
return {
0 commit comments