From 40c9618ddf4946b3211c1306fefb769080099e10 Mon Sep 17 00:00:00 2001
From: parsa aghaei
Date: Wed, 15 Jul 2026 13:36:52 +0330
Subject: [PATCH] fix: fine-tune search capsule border alignment and fix RTL
placeholder text using unicode ellipsis
---
frontend/application/components/Header.tsx | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
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"
>
@@ -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={() => {