Skip to content

Commit 5f28e74

Browse files
authored
fix(theme): remove small layout shift on On this page button (#3767)
1 parent b45217c commit 5f28e74

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: src/client/theme-default/components/VPLocalNavOutlineDropdown.vue

+1-1
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ function scrollToTop() {
5959
ref="main"
6060
>
6161
<button @click="toggle" :class="{ open }" v-if="headers.length > 0">
62-
{{ resolveTitle(theme) }}
62+
<span class="menu-text">{{ resolveTitle(theme) }}</span>
6363
<span class="vpi-chevron-right icon" />
6464
</button>
6565
<button @click="scrollToTop" v-else>

0 commit comments

Comments
 (0)