diff --git a/common/src/app/common/geom/shapes/flex_layout/lines.cljc b/common/src/app/common/geom/shapes/flex_layout/lines.cljc index 48f922856d..b2eb709dd9 100644 --- a/common/src/app/common/geom/shapes/flex_layout/lines.cljc +++ b/common/src/app/common/geom/shapes/flex_layout/lines.cljc @@ -236,7 +236,7 @@ 0 (and row? space-between?) - (/ (- width line-width) (dec num-children)) + (max layout-gap-col (/ (- width line-width) (dec num-children))) :else layout-gap-col) @@ -246,7 +246,7 @@ 0 (and col? space-between?) - (/ (- height line-height) (dec num-children)) + (max layout-gap-row (/ (- height line-height) (dec num-children))) :else layout-gap-row)