Jay V 5 месяцев назад
Родитель
Сommit
36ee4b5ede

+ 16 - 0
cloud/app/src/component/workspace/key-section.module.css

@@ -1,4 +1,20 @@
 .root {
+  [data-component="empty-state"] {
+    padding: var(--space-20) var(--space-6);
+    text-align: center;
+    border: 1px dashed var(--color-border);
+    border-radius: var(--border-radius-sm);
+    display: flex;
+    flex-direction: column;
+    gap: var(--space-2);
+
+    p {
+      line-height: 1.5;
+      font-size: var(--font-size-sm);
+      color: var(--color-text-muted);
+    }
+  }
+
   [data-slot="create-form"] {
     display: flex;
     flex-direction: column;

+ 16 - 0
cloud/app/src/component/workspace/usage-section.module.css

@@ -1,4 +1,20 @@
 .root {
+  [data-component="empty-state"] {
+    padding: var(--space-20) var(--space-6);
+    text-align: center;
+    border: 1px dashed var(--color-border);
+    border-radius: var(--border-radius-sm);
+    display: flex;
+    flex-direction: column;
+    gap: var(--space-2);
+
+    p {
+      line-height: 1.5;
+      font-size: var(--font-size-sm);
+      color: var(--color-text-muted);
+    }
+  }
+
   [data-slot="usage-table"] {
     overflow-x: auto;
   }

+ 0 - 16
cloud/app/src/routes/workspace/[id].css

@@ -59,22 +59,6 @@
     }
   }
 
-  [data-component="empty-state"] {
-    padding: var(--space-20) var(--space-6);
-    text-align: center;
-    border: 1px dashed var(--color-border);
-    border-radius: var(--border-radius-sm);
-    display: flex;
-    flex-direction: column;
-    gap: var(--space-2);
-
-    p {
-      line-height: 1.5;
-      font-size: var(--font-size-sm);
-      color: var(--color-text-muted);
-    }
-  }
-
   /* Title section */
   [data-component="title-section"] {
     display: flex;