mirror of
https://github.com/penpot/penpot.git
synced 2025-05-22 22:26:11 +02:00
✨ Reduce the dashboard thumbnail size
This commit is contained in:
parent
7746649eb8
commit
7977d75e3d
4 changed files with 18 additions and 13 deletions
|
@ -62,9 +62,9 @@
|
|||
|
||||
(defn render
|
||||
"Renders a thumbnail."
|
||||
[{:keys [data styles] :as params}]
|
||||
[{:keys [data styles width] :as params}]
|
||||
(let [id (dm/str (uuid/next))
|
||||
payload #js {:data data :styles styles}
|
||||
payload #js {:data data :styles styles :width width}
|
||||
message #js {:id id
|
||||
:scope "penpot/thumbnail-renderer"
|
||||
:payload payload}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue