0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 07:29:08 -05:00

add nodes style and fix cards size

This commit is contained in:
elhombretecla 2016-10-02 17:50:30 +02:00
parent 530acfe571
commit b16d12f67c
2 changed files with 6 additions and 3 deletions

View file

@ -94,9 +94,11 @@
display: flex;
flex-direction: column;
flex-shrink: 0;
height: 150px;
height: 200px;
justify-content: center;
margin: $medium $medium 0 $medium;
max-width: 300px;
min-width: 260px;
padding: $medium;
position: relative;
text-align: center;

View file

@ -167,9 +167,10 @@
(start-path-edition id index))]
[:g.controls
(for [[index {:keys [x y]}] (map-indexed vector points)]
[:circle {:cx x :cy y :r 3
[:circle {:cx x :cy y :r 6
:on-mouse-down (partial on-mouse-down index)
:fill "red"}])]))
:fill "#31e6e0"
:stroke "#28c4d4"}])]))
(mx/defc selection-handlers
{:mixins [mx/reactive mx/static]}