perf(ui): use computed ref when possible
[e-mobility-charging-stations-simulator.git] / ui / web / src / components / charging-stations / CSTable.vue
index 7c4105ae5267133efb9ebc73d2ec648bf2c8646e..fc1f6a5cbb02ee4f550ca85dd347f9e6ce3b1b19 100644 (file)
@@ -60,7 +60,7 @@ const $emit = defineEmits(['need-refresh'])
 }
 
 #cs-table__caption {
-  color: white;
+  color: ivory;
   background-color: black;
   font-size: 1.5rem;
   font-weight: bold;
@@ -74,7 +74,7 @@ const $emit = defineEmits(['need-refresh'])
   flex-direction: row;
   justify-content: center;
   align-items: center;
-  border: solid 0.5px black;
+  border: solid 0.25px black;
 }
 
 .cs-table__row:nth-of-type(even) {
@@ -83,7 +83,9 @@ const $emit = defineEmits(['need-refresh'])
 
 .cs-table__column {
   height: fit-content;
-  width: calc(65% / 10);
+  width: calc((100% - calc(100% / 3)) / 10);
+  display: flex;
+  flex-direction: column;
   text-align: center;
 }
 
@@ -93,6 +95,8 @@ const $emit = defineEmits(['need-refresh'])
 
 .cs-table__connectors-column {
   height: fit-content;
-  width: 35%;
+  width: calc(100% / 3);
+  display: flex;
+  flex-direction: column;
 }
 </style>