mirror of
https://github.com/usememos/memos.git
synced 2025-06-05 22:09:59 +02:00
chore: update create tag tip style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user