Update DashboardView.vue

This commit is contained in:
Baobhan Sith
2025-04-29 20:23:42 +08:00
parent b23da68719
commit b4847640f2
@@ -182,10 +182,10 @@ const isFailedAction = (actionType: string): boolean => {
<div class="p-4 md:p-6 lg:p-8 bg-background text-foreground"> <div class="p-4 md:p-6 lg:p-8 bg-background text-foreground">
<h1 class="text-2xl font-semibold mb-6">{{ t('nav.dashboard') }}</h1> <h1 class="text-2xl font-semibold mb-6">{{ t('nav.dashboard') }}</h1>
<div class="grid grid-cols-1 lg:grid-cols-2 gap-6"> <div class="grid grid-cols-1 lg:grid-cols-2 gap-6 lg:items-start">
<!-- Connection List --> <!-- Connection List -->
<div class="bg-card text-card-foreground shadow rounded-lg overflow-hidden border border-border"> <div class="bg-card text-card-foreground shadow rounded-lg overflow-hidden border border-border min-h-[400px]">
<div class="px-4 py-3 border-b border-border flex justify-between items-center"> <div class="px-4 py-3 border-b border-border flex justify-between items-center">
<h2 class="text-lg font-medium">{{ t('dashboard.connectionList', '连接列表') }}</h2> <h2 class="text-lg font-medium">{{ t('dashboard.connectionList', '连接列表') }}</h2>
<div class="flex items-center space-x-2"> <div class="flex items-center space-x-2">
@@ -235,7 +235,7 @@ const isFailedAction = (actionType: string): boolean => {
</div> </div>
<!-- Recent Activity --> <!-- Recent Activity -->
<div class="bg-card text-card-foreground shadow rounded-lg overflow-hidden border border-border"> <div class="bg-card text-card-foreground shadow rounded-lg overflow-hidden border border-border min-h-[400px]">
<div class="px-4 py-3 border-b border-border"> <div class="px-4 py-3 border-b border-border">
<h2 class="text-lg font-medium">{{ t('dashboard.recentActivity', '最近活动') }}</h2> <h2 class="text-lg font-medium">{{ t('dashboard.recentActivity', '最近活动') }}</h2>
</div> </div>