diff --git a/src/client/theme-default/components/VPDoc.vue b/src/client/theme-default/components/VPDoc.vue index ab0b912102f3..af54aa70fb35 100644 --- a/src/client/theme-default/components/VPDoc.vue +++ b/src/client/theme-default/components/VPDoc.vue @@ -5,7 +5,6 @@ import { useData } from '../composables/data' import { useSidebar } from '../composables/sidebar' import VPDocAside from './VPDocAside.vue' import VPDocFooter from './VPDocFooter.vue' -import VPDocOutlineDropdown from './VPDocOutlineDropdown.vue' const { theme } = useData() @@ -43,7 +42,6 @@ const pageName = computed(() =>
-
width: 100%; } -.VPDoc .VPDocOutlineDropdown { - display: none; -} - -@media (min-width: 960px) and (max-width: 1279px) { - .VPDoc .VPDocOutlineDropdown { - display: block; - } -} - @media (min-width: 768px) { .VPDoc { padding: 48px 32px 128px; @@ -88,7 +76,7 @@ const pageName = computed(() => @media (min-width: 960px) { .VPDoc { - padding: 32px 32px 0; + padding: 48px 32px 0; } .VPDoc:not(.has-sidebar) .container { @@ -147,7 +135,7 @@ const pageName = computed(() => .aside-container { position: fixed; top: 0; - padding-top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 32px); + padding-top: calc(var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + var(--vp-doc-top-height, 0px) + 48px); width: 224px; height: 100vh; overflow-x: hidden; @@ -171,7 +159,7 @@ const pageName = computed(() => .aside-content { display: flex; flex-direction: column; - min-height: calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 32px)); + min-height: calc(100vh - (var(--vp-nav-height) + var(--vp-layout-top-height, 0px) + 48px)); padding-bottom: 32px; } diff --git a/src/client/theme-default/components/VPDocAsideOutline.vue b/src/client/theme-default/components/VPDocAsideOutline.vue index f7b6dade8635..7c22fda1adff 100644 --- a/src/client/theme-default/components/VPDocAsideOutline.vue +++ b/src/client/theme-default/components/VPDocAsideOutline.vue @@ -80,9 +80,8 @@ useActiveAnchor(container, marker) } .outline-title { - letter-spacing: 0.4px; - line-height: 28px; - font-size: 13px; + line-height: 32px; + font-size: 14px; font-weight: 600; } diff --git a/src/client/theme-default/components/VPDocOutlineDropdown.vue b/src/client/theme-default/components/VPDocOutlineDropdown.vue deleted file mode 100644 index e6009402554d..000000000000 --- a/src/client/theme-default/components/VPDocOutlineDropdown.vue +++ /dev/null @@ -1,85 +0,0 @@ - - - - - diff --git a/src/client/theme-default/components/VPDocOutlineItem.vue b/src/client/theme-default/components/VPDocOutlineItem.vue index 4ba55b994678..89ea9710c878 100644 --- a/src/client/theme-default/components/VPDocOutlineItem.vue +++ b/src/client/theme-default/components/VPDocOutlineItem.vue @@ -14,7 +14,7 @@ function onClick({ target: el }: Event) {