diff --git a/src/pages/News/NewsPage.tsx b/src/pages/News/NewsPage.tsx index 00b00e4e..fe1f0923 100644 --- a/src/pages/News/NewsPage.tsx +++ b/src/pages/News/NewsPage.tsx @@ -23,6 +23,7 @@ import { Sparkles, Tag, Info, + X, } from 'lucide-react'; const NewsPage: React.FC = () => { @@ -303,8 +304,24 @@ const NewsPage: React.FC = () => { : ''; navigate(`/news/${catPath}${query}`, { replace: true }); }} - className="w-full pl-10 pr-4 py-3 border border-gray-200 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300" + className="w-full pl-10 pr-10 py-3 border border-gray-200 rounded-xl focus:ring-2 focus:ring-blue-500 focus:border-transparent transition-all duration-300" /> + {searchTerm && ( + + )}