diff --git a/components/family-tree.vue b/components/family-tree.vue index 02142f4..5d5a80c 100644 --- a/components/family-tree.vue +++ b/components/family-tree.vue @@ -83,10 +83,10 @@ function drawChildConnections() { overlays.push({ type: "Custom", options: { - location: 8, + location: 12, create() { const d = document.createElement("button"); - d.innerHTML = `${t("FamilyTree.collapse-children")}`; + d.innerHTML = `${t("FamilyTree.collapse-children")}`; d.onclick = toggleShowAllChildren; return d; }, @@ -141,7 +141,7 @@ onMounted(() => { location: siblings.value.length > 1 ? 12 : 0.5, create() { const d = document.createElement("div"); - d.innerHTML = `${t("FamilyTree.siblings")}`; + d.innerHTML = `${t("FamilyTree.siblings")}`; return d; }, }, @@ -158,7 +158,7 @@ onMounted(() => { location: partners.value.length > 1 ? 12 : 0.5, create() { const d = document.createElement("div"); - d.innerHTML = `${t("FamilyTree.partner")}`; + d.innerHTML = `${t("FamilyTree.partner")}`; return d; }, }, @@ -201,9 +201,14 @@ function toggleShowAllChildren() {