mirror of
https://github.com/penpot/penpot.git
synced 2025-12-11 22:14:05 +01:00
🐛 Fix token pill on multiselect
This commit is contained in:
@@ -136,8 +136,8 @@
|
|||||||
{:key (:name token)
|
{:key (:name token)
|
||||||
:token token
|
:token token
|
||||||
:theme-token theme-token
|
:theme-token theme-token
|
||||||
:half-applied (and applied (not full-applied))
|
:half-applied (or (and applied multiple-selection)
|
||||||
;; Multiple selected shapes behavior should be reviewed after MVP
|
(and applied (not full-applied)))
|
||||||
:full-applied (if multiple-selection
|
:full-applied (if multiple-selection
|
||||||
false
|
false
|
||||||
applied)
|
applied)
|
||||||
|
|||||||
@@ -30,7 +30,7 @@
|
|||||||
:else
|
:else
|
||||||
"token-status-non-applied")]
|
"token-status-non-applied")]
|
||||||
[:button {:class (stl/css-case :token-pill true
|
[:button {:class (stl/css-case :token-pill true
|
||||||
:token-pill-applied full-applied
|
:token-pill-applied (or half-applied full-applied)
|
||||||
:token-pill-invalid errors?
|
:token-pill-invalid errors?
|
||||||
:token-pill-invalid-applied (and full-applied errors?))
|
:token-pill-invalid-applied (and full-applied errors?))
|
||||||
:type "button"
|
:type "button"
|
||||||
|
|||||||
Reference in New Issue
Block a user