Pārlūkot izejas kodu

fix(filesTable): update header title and adjust file input styling

vtugulan 6 mēneši atpakaļ
vecāks
revīzija
1dd9dc7773
2 mainītis faili ar 2 papildinājumiem un 3 dzēšanām
  1. 2 2
      app/components/filesTable.tsx
  2. 0 1
      app/files/page.tsx

+ 2 - 2
app/components/filesTable.tsx

@@ -378,14 +378,14 @@ export function FilesTable() {
     <Card>
       <CardHeader>
         <div className="flex justify-between items-center">
-          <CardTitle>Files in Database</CardTitle>
+          <CardTitle>Files</CardTitle>
           <div className="flex gap-2">
             <div className="flex items-center gap-2">
               <Input
                 type="file"
                 onChange={handleFileUpload}
                 disabled={isUploading}
-                className="w-64 text-sm"
+                className="h-8 w-56 text-sm"
               />
               {isUploading && (
                 <span className="text-sm text-muted-foreground">Uploading...</span>

+ 0 - 1
app/files/page.tsx

@@ -14,7 +14,6 @@ export default function FilesPage() {
         </p>
 
         <div className="w-full max-w-6xl">
-          <h2 className="text-2xl font-semibold mb-4">Files in Database</h2>
           <FilesTable />
         </div>
       </main>