fix: Modal Toast zIndex

This commit is contained in:
kissudad@outlook.com 2024-04-10 09:30:35 +08:00 committed by llxxxdd
parent 8b6b6b622e
commit 111d3a5e1e
3 changed files with 6 additions and 1 deletions

View File

@ -7,7 +7,7 @@
initialFocus: '#focus-prompt',
fallbackFocus: 'div.vfm__content',
}"
style="z-index: 9999999"
:z-index-fn="() => 9999"
>
<slot />
</VueFinalModal>

View File

@ -92,6 +92,10 @@ main {
width: calc(100% - 19em);
}
.filebrower-toast {
z-index: 10000;
}
.breadcrumbs {
height: 3em;
background: var(--background);

View File

@ -37,6 +37,7 @@ app.use(Toast, {
transition: "Vue-Toastification__bounce",
maxToasts: 10,
newestOnTop: true,
containerClassName: "filebrower-toast",
} satisfies PluginOptions);
app.use(vfm);