Skip to content

Commit

Permalink
fix(theme): remove small layout shift on On this page button (#3767)
Browse files Browse the repository at this point in the history
  • Loading branch information
userquin authored Apr 8, 2024
1 parent b45217c commit 5f28e74
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function scrollToTop() {
ref="main"
>
<button @click="toggle" :class="{ open }" v-if="headers.length > 0">
{{ resolveTitle(theme) }}
<span class="menu-text">{{ resolveTitle(theme) }}</span>
<span class="vpi-chevron-right icon" />
</button>
<button @click="scrollToTop" v-else>
Expand Down

0 comments on commit 5f28e74

Please sign in to comment.