diff --git a/app/ui/InfoBox.tsx b/app/ui/InfoBox.tsx index c101ee5..2380761 100644 --- a/app/ui/InfoBox.tsx +++ b/app/ui/InfoBox.tsx @@ -10,13 +10,13 @@ export const InfoBox: FC<{ const t = useTranslations("info-box"); return ( -
+
{title ?? t("default-title")} -
{children}
+
{children}
) } diff --git a/tailwind.config.ts b/tailwind.config.ts index 2586424..2889b2d 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -25,6 +25,18 @@ const config: Config = { transform: 'translateX(100%)', }, }, + animateDown: { + '0%': { + opacity: '0', + transform: 'translateY(-15px)', + maxHeight: '0px', + }, + '100%': { + opacity: '1', + transform: 'translateY(0)', + maxHeight: '200px', + }, + }, }, }, plugins: [