mirror of
https://github.com/HabitRPG/habitica.git
synced 2025-12-18 23:27:26 +01:00
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:
@@ -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")
|
||||
|
||||
Reference in New Issue
Block a user