From 7fec3450d9c1a1e37fb2a8d79896c41fa3335313 Mon Sep 17 00:00:00 2001 From: Damien Ostler Date: Sat, 1 Jun 2024 16:36:06 -0400 Subject: [PATCH] fix:add badge showing how many tags selected (#7) * Update .gitignore * fix: added a badge for number of tags selected --- .gitignore | 6 +++--- .idea/.name | 1 + components/neroshitron/search_input.tsx | 16 ++++++++++------ 3 files changed, 14 insertions(+), 9 deletions(-) create mode 100644 .idea/.name diff --git a/.gitignore b/.gitignore index 00bf3d3..13ddefb 100644 --- a/.gitignore +++ b/.gitignore @@ -23,7 +23,7 @@ yarn-error.log* /supabase/volumes/db/data /supabase/volumes/storage supabase.zip -.idea/workspace.xml -.idea/copilot/chatSessions/xd.lck -.idea/copilot/chatSessions/blobs/version .idea/copilot/chatSessions/00000000000.xd +.idea/copilot/chatSessions/blobs/version +.idea/copilot/chatSessions/xd.lck +.idea/workspace.xml diff --git a/.idea/.name b/.idea/.name new file mode 100644 index 0000000..3e4e48b --- /dev/null +++ b/.idea/.name @@ -0,0 +1 @@ +.gitignore \ No newline at end of file diff --git a/components/neroshitron/search_input.tsx b/components/neroshitron/search_input.tsx index 84c5943..ba39484 100644 --- a/components/neroshitron/search_input.tsx +++ b/components/neroshitron/search_input.tsx @@ -70,13 +70,17 @@ const SearchInput = ({ tagsChanged, searchChanged, nsfwChanged}: SearchInputProp setSearch(e.target.value)} className="rounded-l-md h-16 bg-gray-100 text-grey-darker py-2 font-normal text-grey-darkest border border-gray-100 font-bold w-full py-1 px-2 outline-none text-lg text-gray-600" type="text" placeholder="Looking for a specific collection?" /> - + + {selectedTags.length} + +