diff --git a/src/Components/Button/Button.tsx b/src/Components/Button/Button.tsx index 2333c44..d2f0af3 100644 --- a/src/Components/Button/Button.tsx +++ b/src/Components/Button/Button.tsx @@ -61,11 +61,10 @@ export default function Button({ color = 'white', variant = 'fill', isLoading, d ${btnPadding[size]} ${variant === 'fill' ? btnStylesFill[color] : btnStylesOutline[color]} ${isLoading && disableOnLoading && 'bg-opacity-70 pointer-events-none'} + ${fullWidth && 'w-full'} `; - if (size === 'md') classes += ' py-12 px-24'; - if (size === 'lg') - if (fullWidth) classes += ' w-full' + const handleClick = () => { if (isLoading && disableOnLoading) return; diff --git a/src/Components/Navbar/NavMobile.tsx b/src/Components/Navbar/NavMobile.tsx index c633c14..89aad5f 100644 --- a/src/Components/Navbar/NavMobile.tsx +++ b/src/Components/Navbar/NavMobile.tsx @@ -68,25 +68,27 @@ export default function NavMobile({ onSearch }: Props) { animate={open ? "show" : "hide"} >
-
+ + {/* setSearchInput(e.target.value)} className="bg-gray-100 text-gray-600 focus:outline-primary w-full py-12 px-20 pl-40 rounded-24 placeholder-gray-500" placeholder="Search" /> - {/* */} - + + */} + - + {/* */}
-