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:
parent
530acfe571
commit
b16d12f67c
2 changed files with 6 additions and 3 deletions
|
@ -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;
|
||||
|
|
|
@ -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]}
|
||||
|
|
Loading…
Add table
Reference in a new issue