Commit 734d5f3a authored by Steven's avatar Steven

chore: update create tag tip style

parent 2cf07753
......@@ -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>
......
......@@ -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;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment