diff --git a/packages/@vuepress/theme-default/components/Navbar.vue b/packages/@vuepress/theme-default/components/Navbar.vue index d4f562cf90..f5e12dda3e 100644 --- a/packages/@vuepress/theme-default/components/Navbar.vue +++ b/packages/@vuepress/theme-default/components/Navbar.vue @@ -125,4 +125,9 @@ $navbar-horizontal-padding = 1.5rem display none .links padding-left 1.5rem + .site-name + width calc(100vw - 9.4rem) + overflow hidden + white-space nowrap + text-overflow ellipsis