Compare commits
4 commits
e22eba8806
...
33421630ff
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
33421630ff | ||
|
|
29de7a1d5d | ||
|
|
314e39bc7b | ||
|
|
6d94cfb8fe |
2 changed files with 3 additions and 2 deletions
|
|
@ -322,7 +322,8 @@ export default {
|
|||
const diveToTopLevel = () => scrollTo(new Set([currentAncestors.value[0].id]))
|
||||
|
||||
watch(focusedId, async (neu, old) => {
|
||||
if (neu) scrollTo(new Set([neu]))
|
||||
// Ignoring initial update (null -> id) since that is handled by scroll compensation
|
||||
if (old && neu) scrollTo(new Set([neu]))
|
||||
})
|
||||
|
||||
return {
|
||||
|
|
|
|||
|
|
@ -84,7 +84,7 @@ const Timeline = {
|
|||
const offset = computed(() => {
|
||||
if (embedded.value) {
|
||||
// The fontsize after navbar is the little gap between navbar and content
|
||||
return navbarSize.value + fontsize.value
|
||||
return navbarSize.value + fontSize.value
|
||||
} else {
|
||||
return 0
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue