mirror of
https://github.com/usememos/memos.git
synced 2024-11-10 17:02:21 +08:00
chore: update create tag tip style
This commit is contained in:
parent
2cf07753e7
commit
734d5f3aed
2 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue