Edit: Add from Android phone contacts
This commit is contained in:
@@ -5,6 +5,8 @@ import UiIcon from '@/components/UiIcon.vue';
|
||||
const props = defineProps<{
|
||||
open: boolean;
|
||||
title: string;
|
||||
/** برای مودال روی مودال (مثل انتخاب مخاطب داخل فرم) */
|
||||
nest?: boolean;
|
||||
}>();
|
||||
|
||||
const emit = defineEmits<{
|
||||
@@ -29,7 +31,7 @@ function onBackdrop(event: MouseEvent) {
|
||||
|
||||
<template>
|
||||
<Teleport to="body">
|
||||
<div v-if="open" class="backdrop" @click="onBackdrop">
|
||||
<div v-if="open" class="backdrop" :class="{ nest }" @click="onBackdrop">
|
||||
<section
|
||||
class="dialog"
|
||||
role="dialog"
|
||||
@@ -65,6 +67,10 @@ function onBackdrop(event: MouseEvent) {
|
||||
background: rgba(15, 23, 42, 0.35);
|
||||
}
|
||||
|
||||
.backdrop.nest {
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.dialog {
|
||||
width: min(880px, 100%);
|
||||
max-height: min(88dvh, 88vh, 880px);
|
||||
|
||||
Reference in New Issue
Block a user