chore: update create tag tip style

This commit is contained in:
Steven 2022-08-20 11:48:56 +08:00
parent 2cf07753e7
commit 734d5f3aed
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ const TagList: React.FC<Props> = () => {
{tags.map((t, idx) => (
<TagItemContainer key={t.text + "-" + idx} tag={t} tagQuery={query?.tag} />
))}
<Only when={!userService.isVisitorMode() && tags.length < 5}>
<Only when={!userService.isVisitorMode() && tags.length === 0}>
<p className="tip-text">{t("tag-list.tip-text")}</p>
</Only>
</div>

View File

@ -62,7 +62,7 @@
}
> .tip-text {
@apply w-full bg-white mt-2 pl-4 leading-8 rounded text-sm text-gray-400 font-mono;
@apply w-full bg-gray-50 mt-2 pl-4 leading-8 rounded text-sm text-gray-400 font-mono;
}
}
}