aboutsummaryrefslogtreecommitdiff
path: root/src/components/HelpModal.vue
diff options
context:
space:
mode:
authorTerry Truong <terry06890@gmail.com>2022-07-11 13:46:10 +1000
committerTerry Truong <terry06890@gmail.com>2022-07-11 13:46:10 +1000
commit1be08d76dd237c67df16bdefc524e606bfba9312 (patch)
treea6a7bcc92a986cf738229e1df9fc6c454dceb728 /src/components/HelpModal.vue
parent7a28e15874796b3becf97c0193575d906d0cfd01 (diff)
Fix search-mode not closing on Esc
Diffstat (limited to 'src/components/HelpModal.vue')
-rw-r--r--src/components/HelpModal.vue3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/HelpModal.vue b/src/components/HelpModal.vue
index cc11afb..b37d954 100644
--- a/src/components/HelpModal.vue
+++ b/src/components/HelpModal.vue
@@ -1,5 +1,6 @@
<template>
-<div class="fixed left-0 top-0 w-full h-full bg-black/40" @click="onClose">
+<div class="fixed left-0 top-0 w-full h-full bg-black/20" @click="onClose">
+ <!-- Outer div is slightly less dark to make scrollbar more distinguishable -->
<div class="absolute left-1/2 -translate-x-1/2 top-1/2 -translate-y-1/2
w-[90%] max-w-[16cm] max-h-[80%] overflow-auto" :style="styles">
<close-icon @click.stop="onClose" ref="closeIcon"