refactor(ui): refine CS table width sizing
authorJérôme Benoit <jerome.benoit@sap.com>
Sat, 2 Mar 2024 14:07:20 +0000 (15:07 +0100)
committerJérôme Benoit <jerome.benoit@sap.com>
Sat, 2 Mar 2024 14:07:20 +0000 (15:07 +0100)
Signed-off-by: Jérôme Benoit <jerome.benoit@sap.com>
ui/web/src/components/charging-stations/CSTable.vue

index a44f16c18d795973331347c0624deea7a39b65c7..fc1f6a5cbb02ee4f550ca85dd347f9e6ce3b1b19 100644 (file)
@@ -83,7 +83,7 @@ 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;
@@ -95,7 +95,7 @@ const $emit = defineEmits(['need-refresh'])
 
 .cs-table__connectors-column {
   height: fit-content;
-  width: 35%;
+  width: calc(100% / 3);
   display: flex;
   flex-direction: column;
 }