Use <td> elements to data cells in the tables and align them center. 77/11077/1
authorTaewan Kim <t25.kim@samsung.com>
Wed, 10 May 2023 14:31:29 +0000 (23:31 +0900)
committerTaewan Kim <t25.kim@samsung.com>
Wed, 10 May 2023 14:32:52 +0000 (23:32 +0900)
Change-Id: Ie807227691f92b9f6fd5a580c670bc6ac342ba67
Signed-off-by: Taewan Kim <t25.kim@samsung.com>
src/App.css
src/components/home/status/ListFeatureGroup.js
src/components/home/status/StatusPageRows.js

index 5eeb5a1..d1fdcba 100644 (file)
  ================================================================================== */
 
 .App {
-    text-align: initial;
-  }
-.table > thead > tr > th{
-    background-color: rgb(41, 107, 250); 
-    text-align: center;
-    outline-style: initial;
-    border-bottom-width: thick;
-    color: white;
-    /*font-family: "Times New Roman", Times, serif;*/
-    
+  text-align: initial;
+}
+
+.table > thead > tr > th {
+  background-color: rgb(41, 107, 250);
+  text-align: center;
+  outline-style: initial;
+  border-bottom-width: thick;
+  color: white;
+  /*font-family: "Times New Roman", Times, serif;*/
+}
+
+.table td {
+  text-align: center;
+  vertical-align: baseline;
 }
 
 .status-buttons {
   background-color: #4CAF50;
 }
 
-
 .create-tab {
   font-weight: bold;
   font-size: 17px;
 }
 
-
 .upload-pl-form {
   font-size: 15px;
   font-weight: bold;
   display: flex;
   justify-content: flex-end;
 }
+
 .App-logo {
-    height: 40vmin;
-    pointer-events: none;
-  }
+  height: 40vmin;
+  pointer-events: none;
+}
   
-  @media (prefers-reduced-motion: no-preference) {
-    .App-logo {
-      animation: App-logo-spin infinite 20s linear;
-    }
+@media (prefers-reduced-motion: no-preference) {
+  .App-logo {
+    animation: App-logo-spin infinite 20s linear;
   }
+}
   
-  .App-header {
-    background-color: #282c34;
-    min-height: 100vh;
-    display: flex;
-    flex-direction: column;
-    align-items: center;
-    justify-content: center;
-    font-size: calc(10px + 2vmin);
-    color: white;
-  }
+.App-header {
+  background-color: #282c34;
+  min-height: 100vh;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  font-size: calc(10px + 2vmin);
+  color: white;
+}
+
+.App-link {
+  color: #61dafb;
+}
   
-  .App-link {
-    color: #61dafb;
+@keyframes App-logo-spin {
+  from {
+    transform: rotate(0deg);
   }
-  
-  @keyframes App-logo-spin {
-    from {
-      transform: rotate(0deg);
-    }
-    to {
-      transform: rotate(360deg);
-    }
-  }
\ No newline at end of file
+  to {
+    transform: rotate(360deg);
+  }
+}
\ No newline at end of file
index b553e0e..65529ed 100644 (file)
@@ -184,9 +184,9 @@ const ListFeatureGroup = (props) => {
                             <tr {...row.getRowProps()}>
                                 {row.cells.map(cell => {
                                     return (
-                                        <th {...cell.getCellProps()}>
+                                        <td {...cell.getCellProps()}>
                                             {cell.render('Cell')}
-                                        </th>
+                                        </td>
                                     )
                                 })}
                             </tr>
index bf30421..a1fbc44 100644 (file)
@@ -217,9 +217,9 @@ const StatusPageRows = (props) => {
               <tr {...row.getRowProps()}>
                 {row.cells.map(cell => {
                   return (
-                    <th {...cell.getCellProps()}>
+                    <td {...cell.getCellProps()}>
                       {cell.render('Cell')}
-                    </th>
+                    </td>
                   )
                 })}
               </tr>