fix modal background opacity

This commit is contained in:
grimhilt 2023-03-23 23:59:49 +01:00
parent d6f06f3ca6
commit 926dc60920
2 changed files with 3 additions and 3 deletions

View File

@ -10,7 +10,7 @@ const pwd = ref("");
const xoauth = ref("");
const xoauth2 = ref("");
const host = ref("");
const port = ref("993");
const port = ref(993);
const error = ref("");

View File

@ -5,6 +5,7 @@ import { defineEmits, defineProps } from 'vue'
const emit = defineEmits(['close-modal']);
const props = defineProps({ title: String });
// todo close on escape
function close() {
emit('close-modal');
}
@ -42,8 +43,7 @@ function close() {
top: 0;
z-index: 4000;
background-color: #000;
opacity: .7;
background-color: rgba(0, 0, 0, 0.8);
}
.modal {