fix: issue of content overflow in the console page (#4937)

Signed-off-by: Ryan Wang <i@ryanc.cc>
pull/4955/head
Ryan Wang 2023-11-30 12:01:45 +08:00 committed by GitHub
parent b2b096c544
commit 6e70d2e047
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -200,7 +200,7 @@ onMounted(() => {
</div> </div>
</aside> </aside>
<main class="content w-full pb-12 mb-safe md:pb-0"> <main class="content w-full pb-12 mb-safe md:w-[calc(100%-16rem)] md:pb-0">
<slot v-if="$slots.default" /> <slot v-if="$slots.default" />
<RouterView v-else /> <RouterView v-else />
</main> </main>

View File

@ -166,7 +166,7 @@ onMounted(() => {
</div> </div>
</aside> </aside>
<main class="content w-full pb-12 mb-safe md:pb-0"> <main class="content w-full pb-12 mb-safe md:w-[calc(100%-16rem)] md:pb-0">
<slot v-if="$slots.default" /> <slot v-if="$slots.default" />
<RouterView v-else /> <RouterView v-else />
</main> </main>