From ae7edd80b6722921e666fea30c8cd40582b2dda7 Mon Sep 17 00:00:00 2001 From: tangly1024 Date: Thu, 16 Dec 2021 13:30:17 +0800 Subject: [PATCH] =?UTF-8?q?bugfix:=E6=A0=87=E7=AD=BE=E9=A2=9C=E8=89=B2?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/TagItem.js | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) diff --git a/components/TagItem.js b/components/TagItem.js index a3a04866..2335ea26 100644 --- a/components/TagItem.js +++ b/components/TagItem.js @@ -12,13 +12,9 @@ const TagItem = ({ tag, selected }) => { return (
  • + className={`notion-${tag.color}_background list-none cursor-pointer rounded-md + duration-200 mr-1 my-1 px-2 py-1 text-sm whitespace-nowrap + text-gray-600 hover:bg-gray-200 dark:hover:bg-gray-800 dark:hover:text-white`}> {selected && } {`${tag.name} `} {tag.count ? `(${tag.count})` : ''}