keywords picker update

This commit is contained in:
Chuck Dries 2022-10-24 19:34:06 -07:00
parent cb01518680
commit f73906bf1e
No known key found for this signature in database
GPG Key ID: A00B7AEAE1DC5BE6

View File

@ -17,7 +17,8 @@ const KeywordsPicker = ({ keywords, value, onChange }: KeywordsPickerProps) => {
<li key={keyword}>
<button
className={classNames(
"py-[5px] px-2 rounded-full text-[#C8C8C8] hover:bg-black bg-[#1A1A1A] border border-[#494949] ",
"transition",
"py-[5px] px-3 rounded-full text-[#C8C8C8] hover:bg-black bg-[#1A1A1A] border border-[#494949]",
selected && "bg-blue-600 hover:bg-blue-800"
)}
onClick={() => (selected ? onChange(null) : onChange(keyword))}