mirror of
https://github.com/usememos/memos.git
synced 2025-02-22 14:17:48 +01:00
chore: add beta badge to relation graph
This commit is contained in:
parent
f9fec56560
commit
4fcc682a15
@ -28,7 +28,10 @@ const MemoDetailSidebar = ({ memo, className }: Props) => {
|
|||||||
{shouldShowRelationGraph && (
|
{shouldShowRelationGraph && (
|
||||||
<div className="relative w-full h-36 border rounded-lg bg-zinc-50 dark:bg-zinc-900 dark:border-zinc-800">
|
<div className="relative w-full h-36 border rounded-lg bg-zinc-50 dark:bg-zinc-900 dark:border-zinc-800">
|
||||||
<MemoRelationForceGraph className="w-full h-full" memo={memo} />
|
<MemoRelationForceGraph className="w-full h-full" memo={memo} />
|
||||||
<span className="absolute top-1 left-2 text-xs opacity-60 font-mono">Relations</span>
|
<div className="absolute top-1 left-2 text-xs opacity-60 font-mono gap-1 flex flex-row items-center">
|
||||||
|
<span>Relations</span>
|
||||||
|
<span className="text-xs opacity-60">(Beta)</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
)}
|
)}
|
||||||
<div className="w-full flex flex-col">
|
<div className="w-full flex flex-col">
|
||||||
|
Loading…
x
Reference in New Issue
Block a user