mirror of
https://github.com/penpot/penpot.git
synced 2025-08-07 14:38:33 +02: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.util :as util]
|
||||||
[uxbox.ui.mixins :as mx]))
|
[uxbox.ui.mixins :as mx]))
|
||||||
|
|
||||||
|
|
||||||
(def ^:static state
|
(def ^:static state
|
||||||
(as-> (l/select-keys [:location :location-params]) $
|
(as-> (l/select-keys [:location :location-params]) $
|
||||||
(l/focus-atom $ s/state)))
|
(l/focus-atom $ s/state)))
|
||||||
|
|
|
@ -58,7 +58,7 @@
|
||||||
(html
|
(html
|
||||||
[:div.dashboard-grid-content
|
[:div.dashboard-grid-content
|
||||||
[:div.grid-item.add-project
|
[:div.grid-item.add-project
|
||||||
{on-click #(lightbox/set! :new-element)}
|
{on-click #(lightbox/open! :new-element)}
|
||||||
[:span "+ New element"]]
|
[:span "+ New element"]]
|
||||||
[:div.grid-item.project-th
|
[:div.grid-item.project-th
|
||||||
[:span.grid-item-image i/image]
|
[:span.grid-item-image i/image]
|
||||||
|
|
|
@ -55,7 +55,7 @@
|
||||||
(html
|
(html
|
||||||
[:div.dashboard-grid-content
|
[:div.dashboard-grid-content
|
||||||
[:div.grid-item.small-item.add-project
|
[:div.grid-item.small-item.add-project
|
||||||
{on-click #(lightbox/set! :new-icon)}
|
{on-click #(lightbox/open! :new-icon)}
|
||||||
[:span "+ New icon"]]
|
[:span "+ New icon"]]
|
||||||
[:div.grid-item.small-item.project-th
|
[:div.grid-item.small-item.project-th
|
||||||
[:span.grid-item-image i/logo-icon]
|
[:span.grid-item-image i/logo-icon]
|
||||||
|
|
|
@ -234,7 +234,7 @@
|
||||||
[own]
|
[own]
|
||||||
(letfn [(on-click [e]
|
(letfn [(on-click [e]
|
||||||
(dom/prevent-default e)
|
(dom/prevent-default e)
|
||||||
(lightbox/set! :new-project))]
|
(lightbox/open! :new-project))]
|
||||||
(let [state (rum/react grid-state)]
|
(let [state (rum/react grid-state)]
|
||||||
(html
|
(html
|
||||||
[:section.dashboard-grid
|
[:section.dashboard-grid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue