tweak style

This commit is contained in:
syuilo 2023-11-13 14:56:18 +09:00
parent c7b4f50ed5
commit 4646dcf31d
2 changed files with 3 additions and 3 deletions

View File

@ -16,7 +16,7 @@ const { data: navigation } = await useAsyncData('navigation', () => fetchContent
<div class="bg-white dark:bg-slate-950">
<GNav @toggleNav="isNavOpen = !isNavOpen" :is-open="isNavOpen" :slim="true" :disable-shadow="true" />
<div class="main-content">
<div class="relative container mx-auto max-w-screen-xl lg:py-0 grid docs-root pb-12" style="padding: 35px;">
<div class="relative container mx-auto max-w-screen-xl lg:py-0 grid docs-root pb-12">
<div
class="fixed top-[7.25rem] left-0 z-20 w-64 pl-6 transition-transform bg-slate-50 dark:bg-slate-900 lg:top-auto lg:bg-transparent dark:lg:bg-transparent lg:pl-0 lg:transform-none lg:relative"
:class="isAsideNavOpen ? 'translate-x-0' : '-translate-x-64'"

View File

@ -13,7 +13,7 @@
<AsideNavIco class="block w-5 h-5" />
</button>
</div>
<div class="pt-6 lg:p-6 w-full overflow-x-hidden">
<div class="pt-6 lg:p-6 w-full overflow-x-hidden" style="padding: 40px;">
<template v-if="data?.body">
<ContentRenderer v-if="data.body.children.length > 0" :value="data" class="markdown-body w-full mb-6">
</ContentRenderer>
@ -80,4 +80,4 @@ route.meta.title = data.value?.title;
grid-template-columns: 1fr 14rem;
}
}
</style>
</style>