refactor(ui): deploy geçmişi için native scroll kullan
This commit is contained in:
@@ -18,7 +18,6 @@ import { JobStatusBadge } from "../components/JobStatusBadge";
|
|||||||
import { Label } from "../components/ui/label";
|
import { Label } from "../components/ui/label";
|
||||||
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../components/ui/select";
|
import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from "../components/ui/select";
|
||||||
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../components/ui/tabs";
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../components/ui/tabs";
|
||||||
import { ScrollArea } from "../components/ui/scroll-area";
|
|
||||||
import {
|
import {
|
||||||
DeploymentInput,
|
DeploymentInput,
|
||||||
DeploymentProject,
|
DeploymentProject,
|
||||||
@@ -423,11 +422,10 @@ export function DeploymentDetailPage() {
|
|||||||
Deploy Geçmişi
|
Deploy Geçmişi
|
||||||
</CardTitle>
|
</CardTitle>
|
||||||
</CardHeader>
|
</CardHeader>
|
||||||
<CardContent>
|
<CardContent className="max-h-[520px] overflow-y-auto pr-2">
|
||||||
{runs.length === 0 ? (
|
{runs.length === 0 ? (
|
||||||
<div className="text-sm text-muted-foreground">Henüz deploy çalıştırılmadı.</div>
|
<div className="text-sm text-muted-foreground">Henüz deploy çalıştırılmadı.</div>
|
||||||
) : (
|
) : (
|
||||||
<ScrollArea className="max-h-[420px] pr-2">
|
|
||||||
<div className="space-y-3">
|
<div className="space-y-3">
|
||||||
{runs.map((run) => (
|
{runs.map((run) => (
|
||||||
<div
|
<div
|
||||||
@@ -449,7 +447,6 @@ export function DeploymentDetailPage() {
|
|||||||
</div>
|
</div>
|
||||||
))}
|
))}
|
||||||
</div>
|
</div>
|
||||||
</ScrollArea>
|
|
||||||
)}
|
)}
|
||||||
</CardContent>
|
</CardContent>
|
||||||
</Card>
|
</Card>
|
||||||
|
|||||||
Reference in New Issue
Block a user