mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 16:30:37 -05:00
🐛 Fix display of user tooltip
This commit is contained in:
parent
d16aab44f2
commit
9bd9011eca
1 changed files with 2 additions and 2 deletions
|
@ -49,8 +49,8 @@
|
|||
photo (if (str/empty? (:photo profile ""))
|
||||
"/images/avatar.jpg"
|
||||
(:photo profile))]
|
||||
[:div.user-zone {:on-mouse-down #(swap! local assoc :open true)
|
||||
:on-mouse-up #(swap! local assoc :open false)}
|
||||
[:div.user-zone {:on-mouse-enter #(swap! local assoc :open true)
|
||||
:on-mouse-leave #(swap! local assoc :open false)}
|
||||
[:span (:fullname profile)]
|
||||
[:img {:src photo}]
|
||||
(user-menu (:open @local))]))
|
||||
|
|
Loading…
Reference in a new issue