feat: simplify SearchOverlay component styling by removing unnecessary classes and maxHeight style
This commit is contained in:
parent
c2cb541257
commit
788ec62bb2
|
|
@ -95,8 +95,7 @@ export default function SearchOverlay({ config, setConfig, onClose }: SearchOver
|
||||||
animate={{ y: 0, opacity: 1 }}
|
animate={{ y: 0, opacity: 1 }}
|
||||||
exit={{ y: -50, opacity: 0 }}
|
exit={{ y: -50, opacity: 0 }}
|
||||||
transition={{ type: 'spring', damping: 25, stiffness: 300 }}
|
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"
|
className="w-full h-full bg-white/50 shadow-2xl overflow-auto flex flex-col"
|
||||||
style={{ maxHeight: '100dvh' }}
|
|
||||||
onClick={(e) => e.stopPropagation()}
|
onClick={(e) => e.stopPropagation()}
|
||||||
>
|
>
|
||||||
<div className="p-4 sm:p-6 flex-1 flex flex-col">
|
<div className="p-4 sm:p-6 flex-1 flex flex-col">
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user