0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 Fix space-between preserves gap distances

This commit is contained in:
alonso.torres 2023-01-25 14:39:43 +01:00
parent 2d779a4414
commit e041f93680

View file

@ -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)