diff --git a/docs/src/.vuepress/theme/layouts/default.vue b/docs/src/.vuepress/theme/layouts/default.vue index aee4a1a9..f7c8307f 100644 --- a/docs/src/.vuepress/theme/layouts/default.vue +++ b/docs/src/.vuepress/theme/layouts/default.vue @@ -10,56 +10,49 @@ import ParentLayout from '@vuepress/theme-default/lib/client/layouts/Layout.vue' import ReactIcon from '~icons/logos/react' import GithubIcon from '~icons/carbon/logo-github' import DiscordIcon from '~icons/logos/discord-icon' - -const el = ref() -const marginLeft = ref() - -onMounted(() => { - const bbox = el.value.getBoundingClientRect() - marginLeft.value = `-${bbox.width / 2}px` -})