Optima document TAB layout

This commit is contained in:
yangdx
2025-03-29 01:52:18 +08:00
parent a7556fccb5
commit 0d315be8e6

View File

@@ -394,7 +394,7 @@ export default function DocumentManager() {
/> />
</div> </div>
<Card className="flex-1 flex flex-col border rounded-md min-h-0 mb-0"> <Card className="flex-1 flex flex-col border rounded-md min-h-0 mb-2">
<CardHeader className="flex-none py-2 px-4"> <CardHeader className="flex-none py-2 px-4">
<div className="flex justify-between items-center"> <div className="flex justify-between items-center">
<CardTitle>{t('documentPanel.documentManager.uploadedTitle')}</CardTitle> <CardTitle>{t('documentPanel.documentManager.uploadedTitle')}</CardTitle>
@@ -427,7 +427,7 @@ export default function DocumentManager() {
)} )}
{docs && ( {docs && (
<div className="absolute inset-0 flex flex-col p-0"> <div className="absolute inset-0 flex flex-col p-0">
<div className="w-full h-full flex flex-col border border-gray-200 dark:border-gray-700 overflow-hidden"> <div className="absolute inset-[-1px] flex flex-col p-0 border border-gray-200 dark:border-gray-700 overflow-hidden">
<Table className="w-full"> <Table className="w-full">
<TableHeader className="sticky top-0 bg-background z-10 shadow-sm"> <TableHeader className="sticky top-0 bg-background z-10 shadow-sm">
<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)]"> <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)]">