소스 검색

Merge pull request #869 from porter-dev/0.6.0-implement-rbac

nodelist search style fix
jusrhee 5 년 전
부모
커밋
27853aabb6
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      dashboard/src/components/Table.tsx
  2. 2 2
      dashboard/src/main/home/cluster-dashboard/dashboard/NodeList.tsx

+ 2 - 2
dashboard/src/components/Table.tsx

@@ -210,8 +210,8 @@ const SearchRow = styled.div`
   min-width: 300px;
   max-width: min-content;
   background: #ffffff11;
-  margin-bottom: 7px;
-  margin-top: 7px;
+  margin-bottom: 15px;
+  margin-top: 0px;
   i {
     width: 18px;
     height: 18px;

+ 2 - 2
dashboard/src/main/home/cluster-dashboard/dashboard/NodeList.tsx

@@ -18,11 +18,11 @@ const NodeList: React.FC = () => {
   const columns = useMemo<Column<any>[]>(
     () => [
       {
-        Header: "Node name",
+        Header: "Node Name",
         accessor: "name",
       },
       {
-        Header: "Machine type",
+        Header: "Machine Type",
         accessor: "machine_type",
       },
       {