Skip to content
Snippets Groups Projects
Commit d3cc9c61 authored by Emmanuel Salomon's avatar Emmanuel Salomon :fist:
Browse files

Fix breadcrumb + page layout

parent 6a966cab
No related branches found
No related tags found
No related merge requests found
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<ol class="list-none p-0 inline-flex"> <ol class="list-none p-0 inline-flex">
<a <a
v-if="back" v-if="back"
class="group py-2" class="group py-2 whitespace-nowrap flex items-center"
href="#" href="#"
:class="items.length && 'pr-4 border-r mr-4'" :class="items.length && 'pr-4 border-r mr-4'"
@click="$router.back()" @click="$router.back()"
......
...@@ -4,10 +4,12 @@ ...@@ -4,10 +4,12 @@
<PageHeader :document="document" /> <PageHeader :document="document" />
</slot> </slot>
<div class="flex justify-between"> <div class="block justify-between lg:flex">
<nuxt-content :document="document" class="w-full prose dark:prose-dark" /> <nuxt-content :document="document" class="w-full prose dark:prose-dark" />
<div class="sticky h-full top-12 w-1/4 ml-12"> <div
class="sticky h-full top-12 lg:w-1/4 lg:ml-12 mt-8 lg:mt-0 border-t pt-8 lg:pt-0 lg:border-none"
>
<PageToc v-if="toc" :document="document" class="mb-8" /> <PageToc v-if="toc" :document="document" class="mb-8" />
<slot name="sidebar" /> <slot name="sidebar" />
</div> </div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment