diff --git a/frontend/application/components/Header.tsx b/frontend/application/components/Header.tsx index 28afa8a3..b4e32aea 100644 --- a/frontend/application/components/Header.tsx +++ b/frontend/application/components/Header.tsx @@ -211,7 +211,7 @@ export default function Header({ animate={{ width: 320, opacity: 1 }} exit={{ width: 0, opacity: 0 }} transition={{ type: "spring", damping: 25, stiffness: 220 }} - className="absolute right-0 top-1/2 -translate-y-1/2 bg-white border border-canina-blue/30 rounded-2xl shadow-xl shadow-canina-blue/5 overflow-hidden h-12 flex items-center pr-12 pl-4 z-25" + className="absolute right-0 top-1/2 -translate-y-1/2 bg-white border border-canina-blue/30 border-l rounded-2xl shadow-xl shadow-canina-blue/5 overflow-hidden h-12 flex items-center pr-12 pl-4 z-25" >
setSearchQuery(e.target.value)} onBlur={() => !searchQuery && setIsSearchFocused(false)} - placeholder="جستجوی محصولات، مقالات سلامت و ... " + placeholder="جستجوی محصولات، مقالات سلامت و غیره…" dir="rtl" - className="w-full bg-transparent py-2 text-[12px] font-black outline-none font-vazir text-medical-gray-900 text-right placeholder:text-medical-gray-400" + className="w-full bg-transparent py-2 text-[12px] font-black outline-none font-vazir text-medical-gray-900 text-right placeholder:text-medical-gray-400 placeholder:text-right" />
@@ -235,7 +235,7 @@ export default function Header({ className={cn( "w-12 h-12 transition-all duration-300", isSearchFocused - ? "z-30 bg-canina-blue text-white rounded-r-2xl rounded-l-none" + ? "z-30 bg-canina-blue text-white rounded-r-2xl rounded-l-none border border-canina-blue border-l-0 shadow-none" : "rounded-2xl" )} onClick={() => {