From 2cf39a6679577bb86269dc69498a3e08ba27eb27 Mon Sep 17 00:00:00 2001 From: Sudharsana Saravanan S Date: Sat, 4 Oct 2025 00:12:19 +0530 Subject: [PATCH] Fix search bar responsiveness on mobile, closes #27 --- frontend/src/pages/GraphVisualizer.jsx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/frontend/src/pages/GraphVisualizer.jsx b/frontend/src/pages/GraphVisualizer.jsx index 5b365c0..f3e9482 100644 --- a/frontend/src/pages/GraphVisualizer.jsx +++ b/frontend/src/pages/GraphVisualizer.jsx @@ -549,26 +549,26 @@ const GraphVisualizer = ({ darkMode, setDarkMode }) => { : 'bg-white/20 border-white/50' }`}>
-
-
-

+
+
+

Graph Algorithm Visualizer

-

+

Interactive graph algorithm visualization platform

-
+
{/* Search Bar */} -
+
setSearchTerm(e.target.value)} - className={`pl-10 pr-4 py-2 rounded-lg backdrop-blur-md border transition-all ${ + className={`w-full sm:w-auto pl-10 pr-4 py-2 rounded-lg backdrop-blur-md border transition-all ${ darkMode ? 'bg-gray-800/50 border-gray-600 text-white' : 'bg-white/50 border-white/30 text-gray-800'