diff --git a/src/client/theme-default/components/VPNavBarTitle.vue b/src/client/theme-default/components/VPNavBarTitle.vue index f6d237ff..65bf6129 100644 --- a/src/client/theme-default/components/VPNavBarTitle.vue +++ b/src/client/theme-default/components/VPNavBarTitle.vue @@ -47,6 +47,6 @@ const { currentLang } = useLangs() :deep(.logo) { margin-right: 8px; - height: 24px; + height: var(--vp-nav-logo-height); } diff --git a/src/client/theme-default/styles/vars.css b/src/client/theme-default/styles/vars.css index f8794e51..f1c0e1c6 100644 --- a/src/client/theme-default/styles/vars.css +++ b/src/client/theme-default/styles/vars.css @@ -361,6 +361,7 @@ --vp-nav-height: 64px; --vp-nav-bg-color: var(--vp-c-bg); --vp-nav-screen-bg-color: var(--vp-c-bg); + --vp-nav-logo-height: 24px; } /**