Skip to content

Commit 74017c5

Browse files
YuYang019kefranabg
authored andcommitted
fix($theme-default): add text ellipsis to navbar (#1683) (#1840)
1 parent c6f1322 commit 74017c5

File tree

1 file changed

+5
-0
lines changed
  • packages/@vuepress/theme-default/components

1 file changed

+5
-0
lines changed

packages/@vuepress/theme-default/components/Navbar.vue

+5
Original file line numberDiff line numberDiff line change
@@ -125,4 +125,9 @@ $navbar-horizontal-padding = 1.5rem
125125
display none
126126
.links
127127
padding-left 1.5rem
128+
.site-name
129+
width calc(100vw - 9.4rem)
130+
overflow hidden
131+
white-space nowrap
132+
text-overflow ellipsis
128133
</style>

0 commit comments

Comments
 (0)