fix: prevent log dialog from closing on outside click (#146)
This commit is contained in:
@@ -57,8 +57,7 @@ onUnmounted(() => {
|
|||||||
|
|
||||||
<template>
|
<template>
|
||||||
<Teleport to="body">
|
<Teleport to="body">
|
||||||
<div v-if="open" class="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-0 sm:p-4"
|
<div v-if="open" class="fixed inset-0 z-50 flex items-center justify-center bg-black/50 p-0 sm:p-4">
|
||||||
@click.self="close">
|
|
||||||
<div
|
<div
|
||||||
:class="[
|
:class="[
|
||||||
'bg-background shadow-2xl flex flex-col transition-all duration-300 overflow-hidden',
|
'bg-background shadow-2xl flex flex-col transition-all duration-300 overflow-hidden',
|
||||||
|
|||||||
Reference in New Issue
Block a user