refactor(ui): a11y improvements

This commit is contained in:
liyasthomas
2021-08-06 21:40:26 +05:30
parent 3a96eb003b
commit 346ece94b7
31 changed files with 59 additions and 155 deletions

View File

@@ -15,21 +15,13 @@
icon="offline_bolt"
@click.native="showInstallPrompt()"
/>
<span tabindex="-1">
<ButtonPrimary
v-if="currentUser === null"
label="Login"
@click.native="showLogin = true"
/>
<tippy
v-else
ref="user"
interactive
tabindex="-1"
trigger="click"
theme="popover"
arrow
>
<ButtonPrimary
v-if="currentUser === null"
label="Login"
@click.native="showLogin = true"
/>
<span v-else>
<tippy ref="user" interactive trigger="click" theme="popover" arrow>
<template #trigger>
<ProfilePicture
v-if="currentUser.photoURL"