fix modal background opacity

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

View File

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

View File

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