瀏覽代碼

fix(ui): query table

charlie 1 年之前
父節點
當前提交
7bb3e309ba
共有 1 個文件被更改,包括 22 次插入0 次删除
  1. 22 0
      src/main/frontend/components/table.css

+ 22 - 0
src/main/frontend/components/table.css

@@ -54,3 +54,25 @@
     width: auto !important;
   }
 }
+
+.query-table {
+  @apply my-2 rounded;
+
+  table {
+    @apply w-full border-none;
+  }
+
+  th {
+    @apply bg-gray-03;
+  }
+
+  tr {
+    &:nth-child(even) {
+      @apply bg-gray-02;
+    }
+  }
+
+  th, td {
+    @apply p-1.5 border border-collapse;
+  }
+}