fix(theme): remove small layout shift on `On this page` button (#3767)

pull/3768/head
Joaquín Sánchez 6 months ago committed by GitHub
parent b45217c136
commit 5f28e74abf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -59,7 +59,7 @@ function scrollToTop() {
ref="main" ref="main"
> >
<button @click="toggle" :class="{ open }" v-if="headers.length > 0"> <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" /> <span class="vpi-chevron-right icon" />
</button> </button>
<button @click="scrollToTop" v-else> <button @click="scrollToTop" v-else>

Loading…
Cancel
Save