Skip to content

Commit

Permalink
[Appearance] Tag margin, border, color, selected
Browse files Browse the repository at this point in the history
  • Loading branch information
reycn authored Mar 19, 2021
1 parent e34b7eb commit 44aa26c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/Tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ const Tags = ({ tags, handleTagClick, selectedTag }) => {
<li
key={key}
onClick={() => handleTagClick(key)}
className={`mr-2 px-2 py-1 my-3 font-medium cursor-pointer rounded-full border-2 bg-opacity-0 border-blue-200 text-black bg-blue-400 whitespace-nowrap ${
key === selectedTag ? 'bg-opacity-30' : ''
className={`mr-3 py-2 my-3 font-medium cursor-pointer border px-4 bg-gray-100 border-gray-100 text-gray-400 whitespace-nowrap ${
key === selectedTag ? 'text-white bg-black border-black' : ''
}`}
>
{`${key} (${tags[key]})`}
Expand Down

0 comments on commit 44aa26c

Please sign in to comment.