mirror of
https://github.com/penpot/penpot.git
synced 2026-07-31 18:36:18 +00:00
🐛 Fix image swatches displays a wrong format in list view (#10975)
This commit is contained in:
parent
0b5db57def
commit
3fc1e6aadd
@ -65,7 +65,7 @@
|
||||
(uc/gradient-type->string (:type gradient))
|
||||
|
||||
(some? image)
|
||||
(tr "media.image")))))
|
||||
(:name image)))))
|
||||
|
||||
(def ^:private schema:swatch
|
||||
[:map {:title "SchemaSwatch"}
|
||||
|
||||
@ -108,7 +108,8 @@
|
||||
gradient-text]])
|
||||
|
||||
image
|
||||
[:span (tr "media.image")]
|
||||
[:span {:class (stl/css :color-row-colorpicker-label)}
|
||||
(:name image)]
|
||||
|
||||
color
|
||||
(if name
|
||||
@ -124,7 +125,8 @@
|
||||
opacity-text])])
|
||||
|
||||
:else
|
||||
[:span (tr "labels.other")])]]]))
|
||||
[:span {:class (stl/css :color-row-colorpicker-label)}
|
||||
(tr "labels.other")])]]]))
|
||||
|
||||
;; ---------------------------------------------------------------------------
|
||||
;; Grouped color list
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user