@@ -77,35 +77,26 @@ export const ShowVolumeBackups = ({
7777 } ;
7878
7979 return (
80- < Card className = " px-6 shadow-none bg-transparent h-full min-h-[50vh]" >
81- < CardHeader className = "px-0" >
82- < div className = "flex justify-between items-center flex-wrap gap-2" >
83- < div className = "flex flex-col gap-2" >
84- < CardTitle className = "text-xl font-bold flex items-center gap-2" >
85- Volume Backups
86- </ CardTitle >
87- < CardDescription >
88- Schedule volume backups to run automatically at specified
89- intervals
90- </ CardDescription >
91- </ div >
92- < div className = "flex items-center gap-2 flex-wrap" >
93- { volumeBackups && volumeBackups . length > 0 && (
94- < >
95- < HandleVolumeBackups id = { id } volumeBackupType = { type } />
96- < div className = "flex items-center gap-2" >
97- < RestoreVolumeBackups
98- id = { id }
99- type = { type }
100- serverId = { serverId }
101- />
102- </ div >
103- </ >
104- ) }
105- </ div >
80+ < Card className = "bg-background h-full min-h-[50vh]" >
81+ < CardHeader className = "flex flex-row items-center flex-wrap gap-4 justify-between" >
82+ < div className = "flex flex-col gap-1" >
83+ < CardTitle className = "text-xl" > Volume Backups</ CardTitle >
84+ < CardDescription >
85+ Schedule volume backups to run automatically at specified intervals
86+ </ CardDescription >
87+ </ div >
88+ < div className = "flex items-center gap-2 flex-wrap" >
89+ { volumeBackups && volumeBackups . length > 0 && (
90+ < >
91+ < HandleVolumeBackups id = { id } volumeBackupType = { type } />
92+ < div className = "flex items-center gap-2" >
93+ < RestoreVolumeBackups id = { id } type = { type } serverId = { serverId } />
94+ </ div >
95+ </ >
96+ ) }
10697 </ div >
10798 </ CardHeader >
108- < CardContent className = "px-0" >
99+ < CardContent >
109100 { isLoadingVolumeBackups ? (
110101 < div className = "flex gap-4 w-full items-center justify-center text-center mx-auto min-h-[45vh]" >
111102 < Loader2 className = "size-4 text-muted-foreground/70 transition-colors animate-spin self-center" />
0 commit comments