diff --git a/front/src/components/ui/Toc.vue b/front/src/components/ui/Toc.vue index d61781175..d86d06447 100644 --- a/front/src/components/ui/Toc.vue +++ b/front/src/components/ui/Toc.vue @@ -3,6 +3,8 @@ import { computed, ref, watchEffect } from 'vue' import { slugify } from 'transliteration' import { useScroll } from '@vueuse/core' +import Button from '~/components/ui/Button.vue' + const { heading = 'h1' } = defineProps<{heading?:'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'}>() const toc = ref() @@ -39,14 +41,14 @@ watchEffect(() => {
diff --git a/front/src/components/ui/toc.scss b/front/src/components/ui/toc.scss index 1ba8c2a08..d376c3e19 100644 --- a/front/src/components/ui/toc.scss +++ b/front/src/components/ui/toc.scss @@ -33,9 +33,9 @@ padding-left: 8px; - @include docs { + /* @include docs { top: 72px; - } + } */ > button { position: relative;