Skip to content

Commit da79f33

Browse files
Merge pull request #660 from ravneet27062004/search
[Fixes]:Remove rectangular background for the search bar and all courses button in layout
2 parents 87d3b9e + 0fb1bbd commit da79f33

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

client/src/pages/Courses.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -334,14 +334,14 @@ const Courses = () => {
334334
}
335335
>
336336
{/* THIS IS THE CORRECTED LINE */}
337-
<div className={`relative flex items-center h-16 rounded-2xl overflow-hidden ${isDark ? 'bg-dark-bg-secondary border border-dark-border' : 'bg-light-bg-secondary border border-light-border'} backdrop-blur-sm shadow-lg transition-all duration-300`}>
337+
338338
<SearchBar searchTerm={searchTerm} setSearchTerm={setSearchTerm} />
339-
</div>
339+
340340
</Suspense>
341341
</div>
342342

343343
{/* Enhanced Category Filters */}
344-
<div className={`flex flex-wrap justify-center gap-3 p-4 rounded-xl shadow-lg bg-gradient-to-br from-blue-50 to-indigo-50 dark:from-gray-800 dark:to-secondary-1000 backdrop-blur-xl ${isDark ? 'border border-dark-border' : 'border border-light-border'}`}>
344+
345345
<motion.button
346346
variants={buttonVariants}
347347
initial="initial"
@@ -399,7 +399,7 @@ const Courses = () => {
399399
</motion.button>
400400
);
401401
})}
402-
</div>
402+
403403

404404
{/* Search Results Count */}
405405
{searchTerm && (

0 commit comments

Comments
 (0)