diff --git a/src/components/layout/Sticky.vue b/src/components/layout/Sticky.vue index f4d79af..5413d36 100644 --- a/src/components/layout/Sticky.vue +++ b/src/components/layout/Sticky.vue @@ -29,6 +29,7 @@ function updateTop() { } nextTick(updateTop); +document.fonts.ready.then(updateTop); onMounted(() => { const el = element.value?.parentElement; diff --git a/src/features/links/Links.vue b/src/features/links/Links.vue index 1f821c8..a5877b5 100644 --- a/src/features/links/Links.vue +++ b/src/features/links/Links.vue @@ -50,6 +50,7 @@ function updateNodes() { }); } } +document.fonts.ready.then(updateNodes); const validLinks = computed(() => { const n = nodes.value;