Modify legend box hight
This commit is contained in:
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
4
lightrag/api/webui/index.html
generated
4
lightrag/api/webui/index.html
generated
@@ -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>
|
||||
|
@@ -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">
|
||||
|
Reference in New Issue
Block a user