From 2332968e0fd2c85be99f0facaca4800484cf6761 Mon Sep 17 00:00:00 2001 From: Kia King Ishii Date: Mon, 30 May 2022 23:58:15 +0900 Subject: [PATCH] refactor: finally make local nav item align perfectly --- src/client/theme-default/components/VPLocalNav.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/client/theme-default/components/VPLocalNav.vue b/src/client/theme-default/components/VPLocalNav.vue index b6764ce1..38f9dbff 100644 --- a/src/client/theme-default/components/VPLocalNav.vue +++ b/src/client/theme-default/components/VPLocalNav.vue @@ -43,6 +43,7 @@ function scrollToTop() { z-index: var(--vp-z-index-local-nav); display: flex; justify-content: space-between; + align-items: center; border-bottom: 1px solid var(--vp-c-divider-light); width: 100%; background-color: var(--vp-c-bg); @@ -85,6 +86,7 @@ function scrollToTop() { } .top-link { + display: block; padding: 12px 24px 11px; line-height: 24px; font-size: 12px;