feat!: handle Set at JSON serialization to string
[e-mobility-charging-stations-simulator.git] / ui / web / src / App.vue
index b3fc6d1c4c313122a54143f3d42f3d08ecbd842b..1a0b1d6428ffab304a84fa3800cb0fe57b0dfb4a 100644 (file)
@@ -1,22 +1,48 @@
 <template>
   <router-view />
+  <Container
+    v-show="$route.name !== 'charging-stations' && $route.name !== 'not-found'"
+    id="action-container"
+  >
+    <router-view name="action" />
+  </Container>
 </template>
 
+<script setup lang="ts">
+import Container from '@/components/Container.vue'
+</script>
+
 <style>
 #app {
   height: fit-content;
-  width: fit-content;
-  font-family: Avenir, Helvetica, Arial, sans-serif;
+  width: 100%;
+  font-family: Tahoma, 'Arial Narrow', Arial, Helvetica, sans-serif;
   -webkit-font-smoothing: antialiased;
   -moz-osx-font-smoothing: grayscale;
+  display: flex;
+  flex-direction: row;
   color: black;
   background-color: white;
 }
 
-body {
+#action-container {
+  min-width: max-content;
   height: fit-content;
-  width: fit-content;
-  margin: 0.005%;
-  padding: 0.005%;
+  display: flex;
+  position: sticky;
+  top: 0.008%;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+  text-align: center;
+  margin-right: 0.2%;
+  margin-left: 0.2%;
+  padding: 0.4%;
+  border: solid 0.25px black;
+}
+
+body {
+  margin: 0.008%;
+  padding: 0.008%;
 }
 </style>