fix: frontend: inconsistent look of focus elements between chrome and firefox
Massimo Melina committed
Feb 12, 2022 at 16:33 UTC
81f226f9f8d635a1744357c255174e463f5892ca
1 file changed
+1
frontend/src/menu.ts
+1
@@ -125,6 +125,7 @@ export function MenuButton({ icon, label, toggled, onClick, className = '' }: Me
125
126
export function MenuLink({ href, confirm, ...rest }: MenuButtonProps & { href: string, confirm?: string }) {
127
return h('a', {
128
+ tabIndex: -1,
129
href,
130
async onClick(ev) {
131
if (!confirm) return