Update reward button and toggle menu

Add `<button>` tag to the 3 dots toggle menu, and the reward control.

Update the CSS to add focus styles, in addition to hover styles, for the
3 dots toggle menu.
This commit is contained in:
Ian Oxley
2018-11-07 00:06:06 +00:00
parent 8048cf9a97
commit 302bc899d7
2 changed files with 10 additions and 3 deletions

View File

@@ -4,7 +4,7 @@ A simplified dropdown component that doesn't rely on buttons as toggles like bo
<template lang="pug">
.habitica-menu-dropdown.dropdown(@click="toggleDropdown()", :class="{open: isOpen}")
.habitica-menu-dropdown-toggle
button.habitica-menu-dropdown-toggle
slot(name="dropdown-toggle")
.dropdown-menu(:class="{'dropdown-menu-right': right}")
slot(name="dropdown-content")