From d32e7c47627db72dac6dfa441889754848a9dfe5 Mon Sep 17 00:00:00 2001 From: skeptrune Date: Thu, 31 Oct 2024 14:31:55 -0700 Subject: [PATCH] cleanup: load-in css animation for search component --- clients/search-component/package.json | 2 +- clients/search-component/tailwind.config.js | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/clients/search-component/package.json b/clients/search-component/package.json index dbf63e0608..669218c492 100644 --- a/clients/search-component/package.json +++ b/clients/search-component/package.json @@ -7,7 +7,7 @@ "dist/*", "dist/**/*" ], - "version": "0.0.58", + "version": "0.0.59", "license": "MIT", "homepage": "https://github.com/devflowinc/trieve/tree/main/clients/search-component", "scripts": { diff --git a/clients/search-component/tailwind.config.js b/clients/search-component/tailwind.config.js index 05d8fc8ae8..edf8a02fb5 100644 --- a/clients/search-component/tailwind.config.js +++ b/clients/search-component/tailwind.config.js @@ -151,14 +151,14 @@ export default { contentShow: { from: { opacity: "0", - transform: "translate(-50%, -48%) scale(0.96)", + transform: "translate(-50%, 0) scale(0.96)", }, - to: { opacity: "1", transform: "translate(-50%, -50%) scale(1)" }, + to: { opacity: "1", transform: "translate(-50%, 0) scale(1)" }, }, }, animation: { - overlayShow: "overlayShow 300ms cubic-bezier(0.16, 1, 0.3, 1)", - contentShow: "contentShow 300ms cubic-bezier(0.17, 0.89, 0.32, 1.25)", + overlayShow: "overlayShow 50ms cubic-bezier(0.16, 1, 0.3, 1)", + contentShow: "contentShow 50ms cubic-bezier(0.17, 0.89, 0.32, 1.25)", "spin-border": "rotate 5s infinite linear", }, },