From 53d8d2fc6a6f92a7ce21ee628363b5788f4ea00d Mon Sep 17 00:00:00 2001 From: Ian Oxley Date: Mon, 26 Nov 2018 22:31:57 +0000 Subject: [PATCH] Fix :focus CSS for the dropdown menu Add `:focus` style to the `.habitica-menu-dropdown` class, instead of the `.habitica-menu-dropdown-toggle` class. --- website/client/components/tasks/task.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/website/client/components/tasks/task.vue b/website/client/components/tasks/task.vue index 964dca1d0f..953f100e1f 100644 --- a/website/client/components/tasks/task.vue +++ b/website/client/components/tasks/task.vue @@ -183,7 +183,7 @@ transition: opacity 0.15s ease-in; } - .task /deep/ .habitica-menu-dropdown .habitica-menu-dropdown-toggle:focus, + .task /deep/ .habitica-menu-dropdown:focus .habitica-menu-dropdown-toggle, .task:hover /deep/ .habitica-menu-dropdown .habitica-menu-dropdown-toggle { opacity: 1; }