mirror of
https://github.com/penpot/penpot.git
synced 2025-03-11 07:11:32 -05:00
Minor fixes.
This commit is contained in:
parent
a896bb60d6
commit
66b6040f86
4 changed files with 3 additions and 4 deletions
|
@ -13,7 +13,6 @@
|
|||
[uxbox.ui.util :as util]
|
||||
[uxbox.ui.mixins :as mx]))
|
||||
|
||||
|
||||
(def ^:static state
|
||||
(as-> (l/select-keys [:location :location-params]) $
|
||||
(l/focus-atom $ s/state)))
|
||||
|
|
|
@ -58,7 +58,7 @@
|
|||
(html
|
||||
[:div.dashboard-grid-content
|
||||
[:div.grid-item.add-project
|
||||
{on-click #(lightbox/set! :new-element)}
|
||||
{on-click #(lightbox/open! :new-element)}
|
||||
[:span "+ New element"]]
|
||||
[:div.grid-item.project-th
|
||||
[:span.grid-item-image i/image]
|
||||
|
|
|
@ -55,7 +55,7 @@
|
|||
(html
|
||||
[:div.dashboard-grid-content
|
||||
[:div.grid-item.small-item.add-project
|
||||
{on-click #(lightbox/set! :new-icon)}
|
||||
{on-click #(lightbox/open! :new-icon)}
|
||||
[:span "+ New icon"]]
|
||||
[:div.grid-item.small-item.project-th
|
||||
[:span.grid-item-image i/logo-icon]
|
||||
|
|
|
@ -234,7 +234,7 @@
|
|||
[own]
|
||||
(letfn [(on-click [e]
|
||||
(dom/prevent-default e)
|
||||
(lightbox/set! :new-project))]
|
||||
(lightbox/open! :new-project))]
|
||||
(let [state (rum/react grid-state)]
|
||||
(html
|
||||
[:section.dashboard-grid
|
||||
|
|
Loading…
Add table
Reference in a new issue