From a9fa94903bbccf9ee77de2337b67a1e66c06aef9 Mon Sep 17 00:00:00 2001 From: Damien Ostler Date: Sat, 1 Jun 2024 16:35:52 -0400 Subject: [PATCH] fix: added a badge for number of tags selected --- .idea/.name | 1 + components/neroshitron/search_input.tsx | 16 ++++++++++------ 2 files changed, 11 insertions(+), 6 deletions(-) create mode 100644 .idea/.name 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} + +