diff --git a/frontend-web/src/components/workspace/settings/skill-settings-page.tsx b/frontend-web/src/components/workspace/settings/skill-settings-page.tsx
index 460d6794..ddc525e7 100644
--- a/frontend-web/src/components/workspace/settings/skill-settings-page.tsx
+++ b/frontend-web/src/components/workspace/settings/skill-settings-page.tsx
@@ -28,6 +28,13 @@ import { toast } from "sonner";
import { Badge } from "@/components/ui/badge";
import { Button } from "@/components/ui/button";
+import {
+ Card,
+ CardDescription,
+ CardFooter,
+ CardHeader,
+ CardTitle,
+} from "@/components/ui/card";
import {
Dialog,
DialogContent,
@@ -44,6 +51,7 @@ import {
EmptyMedia,
EmptyTitle,
} from "@/components/ui/empty";
+
import {
Item,
ItemActions,
@@ -322,6 +330,8 @@ function SkillSettingsList({ onClose }: { onClose?: () => void }) {
{!isLoading && !error && filteredSkills.length === 0 && (
)}
+
+ {/* —— 原纵向列表布局(保留备查)——
{!isLoading && !error &&
filteredSkills.length > 0 &&
pagedSkills.map((skill) => (
@@ -331,7 +341,21 @@ function SkillSettingsList({ onClose }: { onClose?: () => void }) {
currentUserId={currentUserId}
isAdmin={isAdmin}
/>
- ))}
+ ))} */}
+ {/* card */}
+ {!isLoading && !error && filteredSkills.length > 0 && (
+
+ {pagedSkills.map((skill) => (
+
+ ))}
+
+ )}
{!isLoading && !error && totalPages > 1 && (