SarahXia0405 commited on
Commit
8c94444
·
verified ·
1 Parent(s): 56a0c74

Update web/src/components/RightPanel.tsx

Browse files
Files changed (1) hide show
  1. web/src/components/RightPanel.tsx +7 -7
web/src/components/RightPanel.tsx CHANGED
@@ -9,6 +9,7 @@ import { Textarea } from './ui/textarea';
9
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './ui/select';
10
  import { LogIn, LogOut, FileText, MessageSquare, Download, ClipboardList, Sparkles } from 'lucide-react';
11
  import type { User } from '../App';
 
12
  import { toast } from 'sonner';
13
  import {
14
  Dialog,
@@ -156,12 +157,10 @@ export function RightPanel({
156
  </Card>
157
 
158
  {/* ✅ Actions:三按钮并排(同宽) */}
 
159
  <Card className="p-4 space-y-3">
160
- <div className="flex items-center justify-between">
161
- <h3>Actions</h3>
162
- </div>
163
-
164
- {/* 关键:grid-cols-3 + 每个 Button w-full */}
165
  <div className="grid grid-cols-3 gap-2">
166
  <Button
167
  variant="outline"
@@ -172,7 +171,7 @@ export function RightPanel({
172
  >
173
  <Download className="h-4 w-4" />
174
  </Button>
175
-
176
  <Button
177
  variant="outline"
178
  className="w-full h-10 px-0"
@@ -182,7 +181,7 @@ export function RightPanel({
182
  >
183
  <ClipboardList className="h-4 w-4" />
184
  </Button>
185
-
186
  <Button
187
  variant="outline"
188
  className="w-full h-10 px-0"
@@ -195,6 +194,7 @@ export function RightPanel({
195
  </div>
196
  </Card>
197
 
 
198
  <Separator />
199
 
200
  {/* Results */}
 
9
  import { Select, SelectContent, SelectItem, SelectTrigger, SelectValue } from './ui/select';
10
  import { LogIn, LogOut, FileText, MessageSquare, Download, ClipboardList, Sparkles } from 'lucide-react';
11
  import type { User } from '../App';
12
+ import { Download, ClipboardList, Sparkles } from 'lucide-react';
13
  import { toast } from 'sonner';
14
  import {
15
  Dialog,
 
157
  </Card>
158
 
159
  {/* ✅ Actions:三按钮并排(同宽) */}
160
+ {/* Actions */}
161
  <Card className="p-4 space-y-3">
162
+ <h3>Actions</h3>
163
+
 
 
 
164
  <div className="grid grid-cols-3 gap-2">
165
  <Button
166
  variant="outline"
 
171
  >
172
  <Download className="h-4 w-4" />
173
  </Button>
174
+
175
  <Button
176
  variant="outline"
177
  className="w-full h-10 px-0"
 
181
  >
182
  <ClipboardList className="h-4 w-4" />
183
  </Button>
184
+
185
  <Button
186
  variant="outline"
187
  className="w-full h-10 px-0"
 
194
  </div>
195
  </Card>
196
 
197
+
198
  <Separator />
199
 
200
  {/* Results */}