0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-03-11 07:11:32 -05:00

Minor fixes.

This commit is contained in:
Andrey Antukh 2015-12-25 11:35:10 +02:00
parent a896bb60d6
commit 66b6040f86
4 changed files with 3 additions and 4 deletions

View file

@ -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)))

View file

@ -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]

View file

@ -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]

View file

@ -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