Browse Source

fix(ui): query table

charlie 1 year ago
parent
commit
7bb3e309ba
1 changed files with 22 additions and 0 deletions
  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;
+  }
+}