Huge bunch of UI/UX improvements and tweaks!
This commit is contained in:
parent
501be10bfe
commit
fb25e72215
37 changed files with 1651 additions and 949 deletions
|
|
@ -144,6 +144,15 @@ watch(isOpen, (newValue) => {
|
|||
loginError.value = ''
|
||||
}
|
||||
})
|
||||
|
||||
const handleKeydown = (e) => {
|
||||
if (e.key === 'Escape' && isOpen.value) {
|
||||
resetAndClose()
|
||||
}
|
||||
}
|
||||
|
||||
onMounted(() => document.addEventListener('keydown', handleKeydown))
|
||||
onUnmounted(() => document.removeEventListener('keydown', handleKeydown))
|
||||
</script>
|
||||
|
||||
<style scoped>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue