Improve login screen

This commit is contained in:
Jon Staab
2024-10-14 12:35:08 -07:00
parent 1be288dcd9
commit 5621ffd1eb
14 changed files with 196 additions and 56 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
<script lang="ts">
import 'tippy.js/animations/shift-away.css'
import {onMount} from "svelte"
import type {SvelteComponent, ComponentType, ComponentProps} from "svelte"
import tippy, {type Instance, type Props} from "tippy.js"
@@ -17,7 +19,7 @@
if (element) {
const target = document.createElement("div")
popover = tippy(element, {content: target, ...params})
popover = tippy(element, {content: target, animation: 'shift-away', ...params})
instance = new component({target, props})