cc 1 неделя назад
Родитель
Сommit
343c4d6493
1 измененных файлов с 11 добавлено и 6 удалено
  1. 11 6
      ai-electron/frontend/src/workbench/views/agent/expert/index.vue

+ 11 - 6
ai-electron/frontend/src/workbench/views/agent/expert/index.vue

@@ -1023,7 +1023,7 @@
 
   .expert-grid {
     display: grid;
-    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
+    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
     gap: 12px;
   }
 
@@ -1031,7 +1031,7 @@
     display: flex;
     flex-direction: column;
     min-width: 0;
-    min-height: 214px;
+    min-height: 230px;
     padding: 14px;
     background: #fff;
     border: 1px solid #e7ebf3;
@@ -1131,9 +1131,9 @@
   }
 
   .expert-card__meta {
-    display: flex;
-    flex-direction: column;
-    gap: 8px;
+    display: grid;
+    grid-template-columns: repeat(2, minmax(0, 1fr));
+    gap: 8px 14px;
     margin-top: 12px;
     padding-top: 12px;
     border-top: 1px dashed #eff2f7;
@@ -1144,7 +1144,7 @@
     align-items: center;
     justify-content: space-between;
     min-width: 0;
-    gap: 12px;
+    gap: 8px;
   }
 
   .expert-card__meta-label {
@@ -1185,8 +1185,13 @@
   }
 
   .expert-card__created {
+    display: block;
+    min-width: 0;
+    overflow: hidden;
     color: #98a2b3;
     font-size: 11px;
+    line-height: 18px;
+    text-overflow: ellipsis;
     white-space: nowrap;
   }