mirror of
https://github.com/penpot/penpot.git
synced 2025-01-26 08:29:42 -05:00
🐛 Fix space-between preserves gap distances
This commit is contained in:
parent
2d779a4414
commit
e041f93680
1 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@
|
||||||
0
|
0
|
||||||
|
|
||||||
(and row? space-between?)
|
(and row? space-between?)
|
||||||
(/ (- width line-width) (dec num-children))
|
(max layout-gap-col (/ (- width line-width) (dec num-children)))
|
||||||
|
|
||||||
:else
|
:else
|
||||||
layout-gap-col)
|
layout-gap-col)
|
||||||
|
@ -246,7 +246,7 @@
|
||||||
0
|
0
|
||||||
|
|
||||||
(and col? space-between?)
|
(and col? space-between?)
|
||||||
(/ (- height line-height) (dec num-children))
|
(max layout-gap-row (/ (- height line-height) (dec num-children)))
|
||||||
|
|
||||||
:else
|
:else
|
||||||
layout-gap-row)
|
layout-gap-row)
|
||||||
|
|
Loading…
Add table
Reference in a new issue