mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 10:21:38 +02:00
✨ Grid layout infrastructure
This commit is contained in:
parent
2030f987db
commit
a0cd94cfae
33 changed files with 362 additions and 150 deletions
|
@ -20,12 +20,14 @@
|
|||
i/component-copy)
|
||||
(case (:type shape)
|
||||
:frame (cond
|
||||
(and (ctl/layout? shape) (ctl/col? shape))
|
||||
(and (ctl/flex-layout? shape) (ctl/col? shape))
|
||||
i/layout-columns
|
||||
|
||||
(and (ctl/layout? shape) (ctl/row? shape))
|
||||
(and (ctl/flex-layout? shape) (ctl/row? shape))
|
||||
i/layout-rows
|
||||
|
||||
;; TODO: GRID ICON
|
||||
|
||||
:else
|
||||
i/artboard)
|
||||
:image i/image
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue