feat: simplify SearchOverlay component styling by removing unnecessary classes and maxHeight style

This commit is contained in:
Jaime Idolpx 2026-06-06 23:17:26 -04:00
parent c2cb541257
commit 788ec62bb2

View File

@ -95,8 +95,7 @@ export default function SearchOverlay({ config, setConfig, onClose }: SearchOver
animate={{ y: 0, opacity: 1 }}
exit={{ y: -50, opacity: 0 }}
transition={{ type: 'spring', damping: 25, stiffness: 300 }}
className="w-full h-full max-w-2xl sm:rounded-xl bg-white/50 shadow-2xl overflow-auto flex flex-col justify-center mx-0 sm:mx-auto my-0 sm:my-20 p-0 sm:p-0"
style={{ maxHeight: '100dvh' }}
className="w-full h-full bg-white/50 shadow-2xl overflow-auto flex flex-col"
onClick={(e) => e.stopPropagation()}
>
<div className="p-4 sm:p-6 flex-1 flex flex-col">