From 688c96452e39f179636ff486e3541652debddfaa Mon Sep 17 00:00:00 2001 From: pengzhanbo Date: Sun, 21 Jul 2024 00:50:11 +0800 Subject: [PATCH] perf(theme): improve navbar logo height --- theme/src/client/components/Nav/VPNavBarTitle.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/theme/src/client/components/Nav/VPNavBarTitle.vue b/theme/src/client/components/Nav/VPNavBarTitle.vue index d9cab868..385dde97 100644 --- a/theme/src/client/components/Nav/VPNavBarTitle.vue +++ b/theme/src/client/components/Nav/VPNavBarTitle.vue @@ -50,7 +50,7 @@ const routeLocale = useRouteLocale() } :deep(.logo) { - height: var(--vp-nav-logo-height, 24px); + height: min(var(--vp-nav-logo-height, 24px), 48px); margin-right: 8px; }