Modify legend box hight

This commit is contained in:
yangdx
2025-04-08 13:02:28 +08:00
parent 8259b7b8bf
commit 6401b88ab4
4 changed files with 5 additions and 5 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -8,8 +8,8 @@
<link rel="icon" type="image/svg+xml" href="logo.png" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Lightrag</title>
<script type="module" crossorigin src="/webui/assets/index-CoO9WUXi.js"></script>
<link rel="stylesheet" crossorigin href="/webui/assets/index-WCszRhP4.css">
<script type="module" crossorigin src="/webui/assets/index-BMYavbuW.js"></script>
<link rel="stylesheet" crossorigin href="/webui/assets/index-CGcFmqa-.css">
</head>
<body>
<div id="root"></div>

View File

@@ -34,7 +34,7 @@ const Legend: React.FC<LegendProps> = ({ className }) => {
return (
<Card className={`p-2 max-w-xs ${className}`}>
<h3 className="text-sm font-medium mb-2">{t('graphPanel.legend')}</h3>
<ScrollArea className="max-h-40">
<ScrollArea className="max-h-50">
<div className="flex flex-col gap-1">
{Array.from(typeColorMap.entries()).map(([type, color]) => (
<div key={type} className="flex items-center gap-2">