diff --git a/next-env.d.ts b/next-env.d.ts index 4f11a03..62b8a52 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,5 +1,5 @@ -/// -/// - -// NOTE: This file should not be edited -// see https://nextjs.org/docs/basic-features/typescript for more information. +/// +/// + +// NOTE: This file should not be edited +// see https://nextjs.org/docs/basic-features/typescript for more information. diff --git a/src/components/ToolTip.tsx b/src/components/ToolTip.tsx index ccf0400..aafea75 100644 --- a/src/components/ToolTip.tsx +++ b/src/components/ToolTip.tsx @@ -1,4 +1,5 @@ import Tippy, { TippyProps } from "@tippyjs/react"; +import "tippy.js/animations/scale-subtle.css"; interface ToolTipProps extends TippyProps {} @@ -8,6 +9,7 @@ export default function ToolTip(props: ToolTipProps): JSX.Element { // Set defaults if (newProps.delay === undefined) newProps.delay = [150, 0]; if (newProps.interactive === undefined) newProps.interactive = true; + if (newProps.animation === undefined) newProps.animation = "scale-subtle"; return ( diff --git a/src/pages/_document.tsx b/src/pages/_document.tsx index a8304bc..506d91b 100644 --- a/src/pages/_document.tsx +++ b/src/pages/_document.tsx @@ -16,7 +16,6 @@ class MyDocument extends Document { return ( -