yangdx commited on
Commit
2fc276a
·
1 Parent(s): 9d6a28b

Optima document TAB layout

Browse files
lightrag_webui/src/features/DocumentManager.tsx CHANGED
@@ -394,7 +394,7 @@ export default function DocumentManager() {
394
  />
395
  </div>
396
 
397
- <Card className="flex-1 flex flex-col border rounded-md min-h-0 mb-0">
398
  <CardHeader className="flex-none py-2 px-4">
399
  <div className="flex justify-between items-center">
400
  <CardTitle>{t('documentPanel.documentManager.uploadedTitle')}</CardTitle>
@@ -427,7 +427,7 @@ export default function DocumentManager() {
427
  )}
428
  {docs && (
429
  <div className="absolute inset-0 flex flex-col p-0">
430
- <div className="w-full h-full flex flex-col border border-gray-200 dark:border-gray-700 overflow-hidden">
431
  <Table className="w-full">
432
  <TableHeader className="sticky top-0 bg-background z-10 shadow-sm">
433
  <TableRow className="border-b bg-card/95 backdrop-blur supports-[backdrop-filter]:bg-card/75 shadow-[inset_0_-1px_0_rgba(0,0,0,0.1)]">
 
394
  />
395
  </div>
396
 
397
+ <Card className="flex-1 flex flex-col border rounded-md min-h-0 mb-2">
398
  <CardHeader className="flex-none py-2 px-4">
399
  <div className="flex justify-between items-center">
400
  <CardTitle>{t('documentPanel.documentManager.uploadedTitle')}</CardTitle>
 
427
  )}
428
  {docs && (
429
  <div className="absolute inset-0 flex flex-col p-0">
430
+ <div className="absolute inset-[-1px] flex flex-col p-0 border border-gray-200 dark:border-gray-700 overflow-hidden">
431
  <Table className="w-full">
432
  <TableHeader className="sticky top-0 bg-background z-10 shadow-sm">
433
  <TableRow className="border-b bg-card/95 backdrop-blur supports-[backdrop-filter]:bg-card/75 shadow-[inset_0_-1px_0_rgba(0,0,0,0.1)]">