diff --git a/docs/.vuepress/components/Poi.vue b/docs/.vuepress/components/Poi.vue index ec107a580..ecb7e9856 100644 --- a/docs/.vuepress/components/Poi.vue +++ b/docs/.vuepress/components/Poi.vue @@ -48,6 +48,10 @@ export default { methods: { activatePoi() { this.isActive = true; + + const $browser = document.getElementById(this.target); + + $browser.scrollIntoView({ behavior: 'smooth' }); }, deactivatePoi() { this.isActive = false; diff --git a/docs/.vuepress/theme/global-components/Badge.vue b/docs/.vuepress/theme/global-components/Badge.vue index 898aceabe..04af8177c 100644 --- a/docs/.vuepress/theme/global-components/Badge.vue +++ b/docs/.vuepress/theme/global-components/Badge.vue @@ -62,7 +62,7 @@ export default { border-width: 1px; border-color: var(--border-color); color: var(--sidebar-link-color); - padding: 4px calc(5px - 0.1em) 4px 5px; + padding: 4px calc(4px - 0.1em) 4px 5px; } &.edition { @@ -70,7 +70,7 @@ export default { border-width: 1px; border-color: var(--text-color); color: var(--text-color); - padding: 0.3em 0.4em 0.1em; + padding: 0.35em 0.3em 0.2em 0.4em; } & + & { diff --git a/docs/.vuepress/theme/global-components/BrowserShot.vue b/docs/.vuepress/theme/global-components/BrowserShot.vue index e00c14829..63b533a2e 100644 --- a/docs/.vuepress/theme/global-components/BrowserShot.vue +++ b/docs/.vuepress/theme/global-components/BrowserShot.vue @@ -1,6 +1,7 @@