diff --git a/core/static/bundled/user/family-graph-index.ts b/core/static/bundled/user/family-graph-index.ts index b17c7420..058d0cbe 100644 --- a/core/static/bundled/user/family-graph-index.ts +++ b/core/static/bundled/user/family-graph-index.ts @@ -287,7 +287,6 @@ document.addEventListener("alpine:init", () => { config.activeUser, ); this.graph.userZoomingEnabled(this.isZoomEnabled); - this.$refs.graph.prepend(this.$refs.zoomControl); this.loading = false; }, })); diff --git a/core/static/user/user_godfathers.scss b/core/static/user/user_godfathers.scss index d350125f..7c69def7 100644 --- a/core/static/user/user_godfathers.scss +++ b/core/static/user/user_godfathers.scss @@ -2,12 +2,12 @@ width: 100%; height: 70vh; display: block; - overflow: clip; } .zoom-control { - float: right; margin-right: 10px; + display: flex; + justify-content: right; } .graph-toolbar { diff --git a/core/templates/core/user_godfathers_tree.jinja b/core/templates/core/user_godfathers_tree.jinja index 88c4709b..e489fd6e 100644 --- a/core/templates/core/user_godfathers_tree.jinja +++ b/core/templates/core/user_godfathers_tree.jinja @@ -94,7 +94,7 @@ -