Skip to content

Commit b5ac204

Browse files
authored
fix(app): disable portal globally (#47)
1 parent 5be5e03 commit b5ac204

File tree

2 files changed

+2
-5
lines changed

2 files changed

+2
-5
lines changed

src/app/src/app.vue

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -77,10 +77,7 @@ router.beforeEach((to, from) => {
7777

7878
<template>
7979
<div :class="ui.colorMode.value">
80-
<UApp
81-
:toaster="{ portal: false }"
82-
:modal="{ portal: false }"
83-
>
80+
<UApp :portal="false">
8481
<AppLayout :open="ui.isOpen.value">
8582
<RouterView v-slot="{ Component }">
8683
<Transition

src/app/src/components/AppLayout.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ function onLeave(el: Element, done: () => void) {
4949
>
5050
<div
5151
v-if="open"
52-
class="fixed top-0 bottom-0 left-0 overflow-y-auto border-r border-default flex flex-col max-w-full bg-default"
52+
class="fixed top-0 bottom-0 left-0 border-r border-default flex flex-col max-w-full bg-default"
5353
:style="sidebarStyle"
5454
>
5555
<AppHeader />

0 commit comments

Comments
 (0)