mirror of
https://github.com/penpot/penpot.git
synced 2026-09-09 21:49:10 +00:00
🐛 Fix react warning on incorrect style on workspace presence component
This commit is contained in:
parent
a73964ed8d
commit
2a1d8fd09d
@ -21,8 +21,8 @@
|
|||||||
[{:keys [session profile index] :as props}]
|
[{:keys [session profile index] :as props}]
|
||||||
(let [profile (assoc profile :color (:color session))]
|
(let [profile (assoc profile :color (:color session))]
|
||||||
[:li {:class (stl/css :session-icon)
|
[:li {:class (stl/css :session-icon)
|
||||||
:style #js {"zIndex" (str (or (+ 1 (* -1 index)) 0)),
|
:style {:z-index (str (or (+ 1 (* -1 index)) 0))
|
||||||
"background-color" (:color session)}
|
:background-color (:color session)}
|
||||||
:title (:fullname profile)}
|
:title (:fullname profile)}
|
||||||
[:img {:alt (:fullname profile)
|
[:img {:alt (:fullname profile)
|
||||||
:style {:background-color (:color session)}
|
:style {:background-color (:color session)}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user