chore: fix layout

This commit is contained in:
Anthony Fu 2022-11-23 06:47:25 +08:00
parent 7beaab0baf
commit e59b3e5db2
2 changed files with 3 additions and 3 deletions

View file

@ -10,8 +10,8 @@ useHead({
</script>
<template>
<NuxtLoadingIndicator />
<NuxtLayout>
<NuxtLoadingIndicator />
<NuxtPage />
</NuxtLayout>
</template>

View file

@ -1,6 +1,6 @@
<template>
<div h-full>
<main flex w-full mxa h-full lg:max-w-80rem>
<main flex w-full mxa lg:max-w-80rem>
<div class="w-1/4" hidden lg:flex flex-col items-end>
<div fixed>
<slot name="left">
@ -9,7 +9,7 @@
</div>
</div>
<div class="lg:w-3/4" flex>
<div class="w-full md:w-2/3" border="l r border">
<div class="w-full md:w-2/3" border="l r border" min-h-screen>
<slot />
</div>
<div hidden md:flex="~ col" class="w-1/3">