Fix dropdown menu
* temp fix for dropdown menu flickering
This commit is contained in:
parent
1fe40874ce
commit
2a63690b6c
|
@ -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
|
||||
|
|
|
@ -160,6 +160,8 @@
|
|||
border-radius: 8px;
|
||||
border: none;
|
||||
padding: .5em;
|
||||
z-index: 999;
|
||||
transform: translate(100%, -100%);
|
||||
.item>a {
|
||||
color: #fff;
|
||||
pointer: default;
|
||||
|
|
Loading…
Reference in New Issue