yangdx
commited on
Commit
Β·
2fbd277
1
Parent(s):
7242812
Modify legend box hight
Browse files
lightrag/api/webui/assets/{index-CoO9WUXi.js β index-BMYavbuW.js}
RENAMED
Binary files a/lightrag/api/webui/assets/index-CoO9WUXi.js and b/lightrag/api/webui/assets/index-BMYavbuW.js differ
|
|
lightrag/api/webui/assets/{index-WCszRhP4.css β index-CGcFmqa-.css}
RENAMED
Binary files a/lightrag/api/webui/assets/index-WCszRhP4.css and b/lightrag/api/webui/assets/index-CGcFmqa-.css differ
|
|
lightrag/api/webui/index.html
CHANGED
Binary files a/lightrag/api/webui/index.html and b/lightrag/api/webui/index.html differ
|
|
lightrag_webui/src/components/graph/Legend.tsx
CHANGED
@@ -34,7 +34,7 @@ const Legend: React.FC<LegendProps> = ({ className }) => {
|
|
34 |
return (
|
35 |
<Card className={`p-2 max-w-xs ${className}`}>
|
36 |
<h3 className="text-sm font-medium mb-2">{t('graphPanel.legend')}</h3>
|
37 |
-
<ScrollArea className="max-h-
|
38 |
<div className="flex flex-col gap-1">
|
39 |
{Array.from(typeColorMap.entries()).map(([type, color]) => (
|
40 |
<div key={type} className="flex items-center gap-2">
|
|
|
34 |
return (
|
35 |
<Card className={`p-2 max-w-xs ${className}`}>
|
36 |
<h3 className="text-sm font-medium mb-2">{t('graphPanel.legend')}</h3>
|
37 |
+
<ScrollArea className="max-h-50">
|
38 |
<div className="flex flex-col gap-1">
|
39 |
{Array.from(typeColorMap.entries()).map(([type, color]) => (
|
40 |
<div key={type} className="flex items-center gap-2">
|