Fix dropdown menu

* temp fix for dropdown menu flickering
This commit is contained in:
Teemu Patja 2017-10-27 19:19:40 +03:00
parent 1fe40874ce
commit 2a63690b6c
No known key found for this signature in database
GPG Key ID: F5B7035E6580FD4C
2 changed files with 3 additions and 1 deletions

View File

@ -37,7 +37,7 @@
(defn user-dropdown [user items]
(let [menu (if @user-dropdown-open?
[:div.ui.menu.transition.visible {:tab-index 0}]
[:div.ui.menu.transition.visible]
[:div.ui.menu.transition.hidden])
avatar-url (:avatar_url user)]
[:div.ui.left.item.dropdown

View File

@ -160,6 +160,8 @@
border-radius: 8px;
border: none;
padding: .5em;
z-index: 999;
transform: translate(100%, -100%);
.item>a {
color: #fff;
pointer: default;