mirror of
https://github.com/penpot/penpot.git
synced 2025-05-25 15:07:37 +02:00
🐛 Fix color picker names are not displayed correctly on their tooltips
This commit is contained in:
parent
8bf1b9c28e
commit
acc1fac8de
1 changed files with 3 additions and 2 deletions
|
@ -54,9 +54,10 @@
|
||||||
(let [props (.-props tab)
|
(let [props (.-props tab)
|
||||||
id (.-id props)
|
id (.-id props)
|
||||||
title (.-title props)
|
title (.-title props)
|
||||||
sid (d/name id)]
|
sid (d/name id)
|
||||||
|
tooltip (if (string? title) title nil)]
|
||||||
[:div {:key (str/concat "tab-" sid)
|
[:div {:key (str/concat "tab-" sid)
|
||||||
:title title
|
:title tooltip
|
||||||
:data-id sid
|
:data-id sid
|
||||||
:on-click on-click
|
:on-click on-click
|
||||||
:class (stl/css-case
|
:class (stl/css-case
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue