0
Fork 0
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:
mathieu.brunot 2019-02-20 02:30:55 +01:00
parent d16aab44f2
commit 9bd9011eca
No known key found for this signature in database
GPG key ID: 81584BEAF692D7E0

View file

@ -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))]))