mirror of
https://github.com/penpot/penpot.git
synced 2025-06-06 09:01:37 +02:00
🐛 Fixes small problem with palette styles
This commit is contained in:
parent
380f069822
commit
d5545fadaf
2 changed files with 6 additions and 1 deletions
|
@ -63,7 +63,7 @@
|
|||
:key (or (str (:id color)) (:value color))
|
||||
:on-click select-color}
|
||||
[:span.color {:style {:background (:value color)}}]
|
||||
(when (= size :big) [:span.color-text (or (:name color) (:value color))])]))
|
||||
(when (= size :big) [:span.color-text {:title (:name color) } (or (:name color) (:value color))])]))
|
||||
|
||||
(mf/defc palette
|
||||
[{:keys [left-sidebar? current-colors recent-colors file-colors shared-libs selected size]}]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue